Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

More Netscape &¤%

Status
Not open for further replies.

enemigo

Programmer
Jul 13, 2001
13
NO
It works great in IE, but not in Netscape, big surprise!

I have an external stylesheet containing:

<STYLE TYPE=&quot;text/css&quot;>
<!--

body
{color: #553565}

table
{font-size: 0.8em;
font-family: Verdana, Arial}


A:link {color: #652055}
A:visited {color: #652055}
A:active {color: #652055}
A:hover {color: #cc0001}


h1
{font-size: 1.4em;
font-weight: bold;
margin-left: 0em;
margin-right: 0em;
margin-top: 0em;
margin-bottom: 0.4em;
color: #553565}

h2
{font-size: 1.2em;
font-weight: bold;
margin-left: 0em;
margin-right: 0em;
margin-top: 0em;
margin-bottom: 0.2em;
color: #553565}

h3
{font-size: 1.1em;
margin-top: 0em;
font-weight: bold;
margin-left: 0em;
margin-right: 0em;
margin-bottom: 0em;
color: #553565}

h4
{font-size: 1.0em;
font-weight: normal;
margin-top: 0em;
margin-left: 0em;
margin-right: 0em;
margin-bottom: 0em;
color: #553565}

h5
{font-size: 0.8em;
font-weight: normal;
margin-top: 0em;
margin-left: 0em;
margin-right: 0em;
margin-bottom: 0em;
color: #553565}

h6
{font-size: 0.7em;
font-weight: normal;
margin-top: 0em;
margin-left: 0em;
margin-right: 0em;
margin-bottom: 0em;
color: red}

-->
</STYLE>


Good, you're still with me... Have I forgotten some tags? Or what?

Please help

Knut
 
hi,

the only thing i can see which maybe causing it is the style tags. you dont need them on an external stylesheet you just need the style declarations. i tried your code in netscape 4.7 without the style tags and it worked fine.

i linked using

<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot;>

after making my own .css using your code.

other than dropping the tags i cant suggest anything else :)
 
Thanks for the answer.

It seems Netscape requires font info in the td tag. In IE one can use the table tag in the stylesheet. In retrospect, the smart choice would be to put it in td tag....

Knut
 
Actually, NS doesn't really like styles on TD tags either. The better choice is to use a span inside the table cell. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top