Welcome to WebmasterWorld Guest from 100.26.182.28

Forum Moderators: open

Message Too Old, No Replies

Firefox adds space for new lines

     
2:23 am on Mar 17, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 4, 2004
posts:136
votes: 0


Hi,

If I do this:

<img ...>
<img ...>
<img ...>

...I get a gap between the images, but when I do this:

<div style="display: inline"><img ...></div>
<div style="display: inline"><img ...></div>
<div style="display: inline"><img ...></div>

...it fixes it on IE but not on Firefox. I guess I have to put them all on one line but I have anchors and Javascript in there, it's very hard to code that way.

What else can I do?

2:33 am on Mar 17, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 18, 2003
posts:925
votes: 0


The browser may be inserting padding or margins between the images, or you may have typed spaces that it's showing.

Try setting in your style for the images margin=0 and border=0.

3:52 am on Mar 17, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


That sounds like it might be a quirks mode vs, standards mode problem. For more information, see [webmasterworld.com...]
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members