CSS Help, Please
kwall@kurtwerks.com
kwall
Mon May 17 11:42:53 PDT 2004
So, I was playing with CSS on a web page. If I use the following
style.css file, I don't get the body settings I want (as viewed
in Mozilla 1.2.1):
<style type="text/css">
body {
color: black;
background-image:url(small-grid.gif);
margin-left: 10%;
margin-right: 10%;
}
</style>
But, if I use the following, the body settings *do* work (again, as
viewed in Mozilla 1.2.1):
<style type="text/css">
body { ; }
body {
color: black;
background-image:url(small-grid.gif);
margin-left: 10%;
margin-right: 10%;
}
</style>
The browser appears to ignore the first body statement, so using
what amounts to an empty or null body statement works around the bug.
Is this a Mozilla misfeature or something stupendously simple that I
am overlooking?
Thanks,
Kurt
--
It is Mr. Mellon's credo that $200,000,000 can do no wrong. Our
offense consists in doubting it.
-- Justice Robert H. Jackson
More information about the Linux-users
mailing list