Try preceeding that style with:
html, body {margin: 0; padding: 0;}
Be aware that FF may not collapse the top margin of a block level
child element. So if your first item on the page is an H1, it will
have the default margins of an H1 including top-margin.
A popular new trick is to actually do:
* {margin: 0; padding: 0;}
This removes the margin and padding for everything so that what you
set is much more consistent between browsers. But that means you have
to set explicitly set everything that you want to have margins and
padding.
Also, I've seen problems with a unit of measure applied to a "0". So
your "0px" works better as just "0" in my experience.
-Kevin
On Tue, 11 Jan 2005 11:54:26 -0500, Erika L. Walker-Arnold
<[EMAIL PROTECTED]> wrote:
> Yes, sorry, I should have been explicit in that one.
>
> Here's my body:
>
> body
> { font-family:Arial, Helvetica, sans-serif;
> font-size:12px;
> color:#000000;
> margin-top:0px;
> margin-left:20px;
> margin-right:0px;
> margin-bottom:0px;
> background-color: #FFFFFF;
> }
>
> But that doesn't work in Firefox ...
> I just tried Sandy's padding-left:20px;
> But that didn't work in Firefox either.
>
> Any other ideas?
>
> Cheers,
> Erika
> --------------------------------------------------
>
> >>| -----Original Message-----
> >>| From: Kevin Graeme
> >>|
> >>| I should have asked in my previous reply what your selector
> >>| was? Were
> >>| you trying to apply that to the body?
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:142095
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54