W3C home > Mailing lists > Public > www-html@w3.org > December 1998

Re: CSS Query

From: Alan G. Isaac <aisaac@american.edu>
Date: Thu, 17 Dec 1998 09:53:44 -0500
Message-ID: <36791AF7.5B7CB4D4@american.edu>
To: www-html@w3.org
Try this instead:

<html>
<head>
   <style type="text/css">
     BODY { background: snow; color:crimson;}
      h1 { color:lime; background:blue;  font: bold 72pt Tahoma;}
   </style>
</head>
<body>
   <h1>H E L L O</h1>
This has the body color.
</body>
</html>

--Alan G. Isaac





Daniel Bulleros wrote:

> Is Netscape 4.x still not conversant with CSS? I have this piece of code:
>
> <head>
>    <style type="text/css">
>       h1 { font: 72pt Tahoma bold; color:lime; background:lightblue }
>    </style>
> </head>
> <body text=crimson>
>    <h1>H E L L O</h1>
> ....
> </body>
>
> When this is viewed in IE4, it looks OK, but in Netscape 4.06, the word
> "HELLO" appears in Times New Roman, the size is similar to font size=7,
> there is no background color, and the text color is set to whatever color
> you specify in the <body> tag.
Received on Friday, 18 December 1998 09:58:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:38 GMT