Greenguy's Board WebcamWiz CRAZY $5,000 Reward Bonuses


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-01-21, 12:23 PM   #1
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Don't fear the code! Make the code fear you!

Anyway, browsers are sensitive about what follows an image - any image.

Change:
HTML Code:
<img src="gallery-1_files/banner4.jpg" border="0" height="160" width="200">
<br>
to:
HTML Code:
<img src="gallery-1_files/banner4.jpg" border="0" height="160" width="200"><br>
The carriage return after the image and before the <br /> is placing space in between the two.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2007-01-21, 01:22 PM   #2
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Quote:
Originally Posted by Useless Warrior View Post
Don't fear the code! Make the code fear you!

Anyway, browsers are sensitive about what follows an image - any image.

Change:
HTML Code:
<img src="gallery-1_files/banner4.jpg" border="0" height="160" width="200">
<br>
to:
HTML Code:
<img src="gallery-1_files/banner4.jpg" border="0" height="160" width="200"><br>
The carriage return after the image and before the <br /> is placing space in between the two.
Aw damn. That was too simple. How am I gonna learn all this crap?

Thanks!

Oh, and what's the difference between <br> and <br />?

Last edited by Licker4U; 2007-01-21 at 01:25 PM..
Licker4U is offline   Reply With Quote
Old 2007-01-21, 08:15 PM   #3
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by Licker4U View Post
Oh, and what's the difference between <br> and <br />?
My HTML validator tells me to change my <br> to <br />. That's all I know. It also tells me to end my <img> with />, so I do that now too.
<img src="slag.jpg" />
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:38 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc