PDA

View Full Version : Extra Padding in Firefox?


Gamelodge
04-25-2007, 03:14 AM
Hi

I cant understand what I am doing wrong.
This works in Transition DTD, but i want to use Strict DTD.

See how there is a little space under the logo in FireFox, but its flush in IE, why is this, i thought Firefox rendered the Box model properly.

I know i can use height to fix this, but i dont want to becasue i dont always know what the height will be, it may vary on some pages based on the content in it.

Here is the link.
http://new.remaxunitedvision.com.au/structure.php
Css
http://new.remaxunitedvision.com.au/_css/global.css

Please help

VIPStephan
04-25-2007, 01:07 PM
http://developer.mozilla.org/en/docs/Images,_Tables,_and_Mysterious_Gaps

By the way: the alt attribute is required for images (even if you leave its value blank).

Gamelodge
04-26-2007, 02:46 AM
Koyamo Solved my problem here
http://www.codingforums.com/showthread.php?t=112904

here is why it is happening in FF only and only in Strict mode.

http://developer.mozilla.org/en/docs/Images,_Tables,_and_Mysterious_Gaps

Thank you!!!!

VIPStephan
04-26-2007, 11:14 AM
here is why it is happening in FF only and only in Strict mode.

http://developer.mozilla.org/en/docs/Images,_Tables,_and_Mysterious_Gaps


Didn’t I just say that…? :rolleyes: