CSS Help, Please

kwall@kurtwerks.com kwall
Mon May 17 11:42:58 PDT 2004


Feigning erudition, ronnie gauthier wrote:
% Not sure if this will help but seeing as its sorta netscape based try adding
% MEDIA=SCREEN to the style tag.<style type="text/css" media=screen>

It didn't work.

% On Tue, 7 Jan 2003 22:41:15 -0500 - kwall at kurtwerks.com wrote the following
% Re: CSS Help, Please
% 
% >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
% >_______________________________________________
% >Linux-users mailing list
% >Linux-users at linux-sxs.org
% >Unsubscribe/Suspend/Etc ->
% >http://www.linux-sxs.org/mailman/listinfo/linux-users
% _______________________________________________
% Linux-users mailing list
% Linux-users at linux-sxs.org
% Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

-- 
Ask your boss to reconsider -- it's so difficult to take "Go to hell"
for an answer.


More information about the Linux-users mailing list