Forum Moderators: open

Message Too Old, No Replies

IE div rendering problem (aaaargh)

IE gives extra spacing where mozilla does not

         

bomhofr

12:40 am on Nov 19, 2004 (gmt 0)

10+ Year Member



Sadly enough, I have just recently decided to try and learn how to use xhtml and css2. in mozilla, the site I am working on renders perfectly - there are no spaces between the upper .gif, the banner.jpg, and the other tables below. In IE, however, there is about 4 or 5 pixels of space between each div tag. i've tried my best in my stylesheet to make sure there are NO borders, margins, cellspacing, etc.

Any help would be *greatly* appreciated.

Thanks,
Rusty

[edited by: Woz at 2:27 am (utc) on Nov. 19, 2004]
[edit reason] No site reviews please, see TOS#21 [/edit]

bomhofr

3:07 am on Nov 19, 2004 (gmt 0)

10+ Year Member



sorry

BonRouge

3:20 am on Nov 19, 2004 (gmt 0)

10+ Year Member



Did you try

img {display:block}

?

mrnoisy

3:22 am on Nov 19, 2004 (gmt 0)

10+ Year Member



Try removing whitespace from the HTML so it's all in one line:

<div id="foo">content</div><div id="bar">content</div>