View Full Version : style sheets in Netscape 4.x
clearjade
July 16th, 2001, 08:22
Is there anyway that I can get the following to work with style sheets in Netscape? The background doesn't even show up, and the font color is black in Netscape. :(
BODY {
background-image: url(http://www.rokgn.net/clearjade/background.jpg);
color: #666666;
}
cowax
July 16th, 2001, 08:39
Can't you just use: <body bgcolor=#666666 background=http://www.rokgn.net/clearjade/background.jpg>
?
Netscape sucks when it comes to style sheets.
meow
July 16th, 2001, 15:01
Should work just fine in Netscape4x. If you go further and want to control how the background repeat you can forget it in 4 but what you've got shouldn't cause any problems.
Either you have some typo in your actual Style Sheet or you specify styles for other elements that override this. But you said it was OK in IE? Could you post the whole CSS or give an URL?
clearjade
July 16th, 2001, 15:23
BODY {
scrollbar-FACE-color: #C1D4F3;
scrollbar-HIGHLIGHT-color: #E0E8F5;
scrollbar-SHADOW-color: #B1C4F2;
scrollbar-3DLIGHT-color: #D3E1FA;
scrollbar-ARROW-color: #4169E1;
scrollbar-TRACK-color: #E9EEF5;
scrollbar-DARKSHADOW-color: #94B5EB;
scrollbar-BASE-color: #C1D4F3
font-face:verdana;
font-size:8pt;
background-image: url(http://www.rokgn.net/clearjade/background.jpg);
color: #666666;
}
A:active {color: royalblue; text-decoration: underline}
A:link {color: royalblue; text-decoration: none}
A:visited {color: royalblue; text-decoration: none}
A:hover {color: royalblue; text-decoration: underline}
There u go. :) the #666666 is for the font color, not the the bgcolor, otherwise I would've specified bgcolor (or background-color?) instead of color.
clearjade
July 16th, 2001, 15:24
Well hrm...I think it's supposed to be font-family instead of font-face now that I look at it. I'll change that and see how it goes.
clearjade
July 16th, 2001, 15:33
Nope didn't do anything. Here's the url: http://www.rokgn.net/clearjade in case u couldn't tell. ;)
clearjade
July 16th, 2001, 16:21
Never mind hehe, I forgot a semi-colon after one of the scrollbar colors. Now I just need the font color to work, and for some reason the active link in Netscape is red, when I specified it to be royalblue.
meow
July 16th, 2001, 16:53
There you are. ;) Nope. looks the same in Netscape as in IE for me. Refresh, empty cache?
clearjade
July 16th, 2001, 16:53
Ok I've figured out how to change the font color. (I used TD and P and specified the color in the style sheet.) I guess Netscape doesn't inherit the body tag or something. I just need to figure out why the active link is messing up. Hehe I guess I'm talking to myself. :D
meow
July 16th, 2001, 18:36
You are right. There is an inheritance problem with among other things Tables. Not only with NS. Looked like it worked though but I'm not sure (see below). And sorry, you were talking about the active link color in NS? As far as I know you can't get that. Just link and visited. It's possible to fake the hover effect with JavaScript though if you want to bother with it.
There is something peculiar with your site. I get different versions different times I visit. Either a file with this CSS or a totally different where you have both LINK REL and @import. Or are you changing files very quickly? :p
clearjade
July 16th, 2001, 20:01
Yea I was messing around with junk lol. I use link and import because netscape doesn't support import. They're both the same style sheet. I left import because I dunno...just felt like it lol. I thought maybe later browsers wouldn't support link as well later on.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.