...

View Full Version : Margin Height in Body Properties Not Working in Firefox...



retrostephie
10-11-2007, 11:13 AM
Hi there,

I'm having a problem... in my body tag the typical properties, topmargin="0" marginheight="0" work fine in IE, but not in firefox.

I have an image i want to be right at the top of my homepage... to flush perfectly with the background image. It looks fine in IE, but not in Firefox.

Any suggestions. I tried css but it didn't seem to work either.

Thanks,

~ Steph

nikos101
10-11-2007, 11:37 AM
Different browsers have different default paddings, margins try adding this to the top of your CSS

* {
padding:0px;
margin:0px;
}

you just have to manualy define the paddings etc from now on in certain cases

nikos101
10-11-2007, 01:25 PM
The firefox probably has a default top padding



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum