Re: Netscape 6 & BODY

by Gerhard Schoening <g.sch(at)onlinehome.de>

 Date:  Wed, 14 Aug 2002 19:31:56 +0200
 To:  "Tre Pryor" <tpryor(at)humana.com>
 Cc:  hwg-style(at)hwg.org
 References:  humana
  todo: View Thread, Original
Hi Tre,

On Wednesday, August 14, 2002 at 18:58 you wrote:

> Works in both NS6 and IE5+
> http://www.tminus9.com/test/test_embedded.htm

> Works in IE but not NS6
> http://www.tminus9.com/test/test_linked.htm

> Any ideas? -

Your linked style sheet does not validate:

<style type="text/css">
<!-- 
BODY {background-image: url(background.gif); background-repeat: repeat; margin-left: 5px; margin-right: 5px; margin-top: 5px; font-family: "Verdana", "Arial", sans-serif;}
.footer {font-family: "Verdana", sans-serif; font-size: 10px; font-weight: bold; color: #999999; margin-top: 20px; margin-bottom: 50px;}
        
-->
</style>

When you have your styles in an *external* linked style sheet,
you should *remove* the style element, like this:


BODY {background-image: url(background.gif); background-repeat: repeat; margin-left: 5px; margin-right: 5px; margin-top: 5px; font-family: "Verdana", "Arial", sans-serif;}
.footer {font-family: "Verdana", sans-serif; font-size: 10px; font-weight: bold; color: #999999; margin-top: 20px; margin-bottom: 50px;}

HTH :)


Regards,
Gerhard

-------------------------------------
Gerhard Schoening:

Community & Portal Websites in PHP & MySQL
http://www.cp-web.com

Bilingual Web Design and Programming
http://www.schoening-online.com

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA