Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 839 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Really Basic Question

Thread title: Really Basic Question
Closed Thread    
    Thread tools Search this thread Display Modes  
03-30-2007, 10:53 PM
#1
.Essence. is offline .Essence.
Status: Member
Join date: Aug 2006
Location:
Expertise:
Software:
 
Posts: 149
iTrader: 2 / 100%
 

.Essence. is on a distinguished road

  Old  Really Basic Question

Please don't laugh at me as I am just starting out

How come if I have a code like this for example;
Code:
<img src="http://www.click2host.us/003/1870100.png"></img><img src="http://www.click2host.us/003/1870100.png"></img>
there is a space in between each image?

03-30-2007, 10:56 PM
#2
chaka42 is offline chaka42
Status: Senior Member
Join date: Apr 2005
Location: Middle America
Expertise:
Software:
 
Posts: 955
iTrader: 5 / 100%
 

chaka42 is an unknown quantity at this point

Send a message via AIM to chaka42 Send a message via MSN to chaka42 Send a message via Skype™ to chaka42

  Old

Not sure...but there are no dimensions associated with the images...or alt tag..

03-30-2007, 10:59 PM
#3
.Essence. is offline .Essence.
Status: Member
Join date: Aug 2006
Location:
Expertise:
Software:
 
Posts: 149
iTrader: 2 / 100%
 

.Essence. is on a distinguished road

  Old

I guess I should return to my studies instead of asking silly questions

03-30-2007, 11:00 PM
#4
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

You should ideally use /> to omitt <img> tags too.

Like:
Code:
<img src="image.jpg" alt="Alt text" />

03-30-2007, 11:06 PM
#5
.Essence. is offline .Essence.
Status: Member
Join date: Aug 2006
Location:
Expertise:
Software:
 
Posts: 149
iTrader: 2 / 100%
 

.Essence. is on a distinguished road

  Old

Originally Posted by chaka42 View Post
Not sure...but there are no dimensions associated with the images...or alt tag..
That made a difference, I added a sizeing(sp?)

Originally Posted by Indy View Post
You should ideally use /> to omitt <img> tags too.

Like:
Code:
<img src="image.jpg" alt="Alt text" />
I will try that

Edit; Chaka it didn't change anything.

Code:
<p>
<img src ="http://www.click2host.us/003/1870100.png"
width="275" height="30"/> 
 <img src ="http://www.click2host.us/003/1870100.png"
width="275" height="30"/> 
<p>
And by the way, this is what I'm speaking of. http://img63.imageshack.us/img63/9876/untitledjc2.png

03-31-2007, 02:08 AM
#6
mikeroq is offline mikeroq
mikeroq's Avatar
Status: Member
Join date: Feb 2006
Location: Ponca City, OK
Expertise: xHTML/CSS/PHP/Computer Tech
Software: Photoshop, Notepad++, Winamp
 
Posts: 332
iTrader: 5 / 100%
 

mikeroq is an unknown quantity at this point

Send a message via AIM to mikeroq Send a message via MSN to mikeroq Send a message via Yahoo to mikeroq

  Old

put this in the image tag before />
Code:
style="margin: 0; display:inline;"

03-31-2007, 03:38 AM
#7
.Essence. is offline .Essence.
Status: Member
Join date: Aug 2006
Location:
Expertise:
Software:
 
Posts: 149
iTrader: 2 / 100%
 

.Essence. is on a distinguished road

  Old

That you greatly for all your help Mike

I really appreciate this.

Admin/Moderators; this can be closed

03-31-2007, 10:35 AM
#8
noodles is offline noodles
Status: Junior Member
Join date: May 2005
Location:
Expertise:
Software:
 
Posts: 44
iTrader: 0 / 0%
 

noodles is on a distinguished road

  Old

or put this in the css:

img{
display: block;
}

that also works, and it applies to all images

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed