PDA

View Full Version : this CSS works great in Explorer but not Netscape


:kj:
04-16-2003, 05:36 PM
Heres the test page - Left Nav Mouse over:

http://www.dagazsolutions.com/sabrix_new/solutions.html

Does not work in Netscape at all, please help - need to show client ):

Here's my Styles:

<style type="text/css">
<!--


a.navlink {
background-color: ;
display: block;
padding: 4px;
padding-right: 6px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #003399;
text-decoration: none;
/*Change the above value to adjust the
padding as desired */
}

a.navlink:hover {
background-color: #6AA94E;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
/* Insert whatever color you want the
links background to be when the user
puts his or her mouse over it */
}

a.navlinkHere {
background-color: #6AA94E;
display: block;
padding: 4px;
padding-right: 6px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
/*Change the above value to adjust the
padding as desired */
}
a.subnavlink {
background-color: ;
display: block;
padding: 4px;
padding-right: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
color: #666666;
text-decoration: none;

/*Change the above value to adjust the
padding as desired */
}

a.subnavlink:hover {
background-color: #6AA94E;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
padding-right: 12px;
color: #FFFFFF;
text-decoration: none;

/* Insert whatever color you want the
links background to be when the user
puts his or her mouse over it */
}

a.subnavlinkHere {
background-color: #6AA94E;
display: block;
padding: 4px;
padding-right: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
color: #FFFFFF;
text-decoration: none;

/*Change the above value to adjust the
padding as desired */
}
-->
</style>

Mhtml
04-16-2003, 05:42 PM
What version of netscape you tested in? Although I've yet to test it in Netscrap I'm fairly sure it will work!

I will install netscrape now to have a little looksy. :)

[edit:] What do ya know, I actually have ns6 installed ... forgot about that :rolleyes:

Anyways my initial assessment was correct, it works a treat! Nice work I may add. :)

:kj:
04-16-2003, 05:55 PM
Doesnt work on Netscape 4.7 at all, thats what my clinet has

help help! :eek:

ionsurge
04-16-2003, 05:57 PM
Works perfectly in Opera 7.10 - and very nicely too.

:)

Mhtml
04-16-2003, 06:09 PM
Hrm.. 4.7. Well I'm not so much of a cross browser person as some people on this forum (like brothercake for instance) so I'll have to leave it to them...

Personally me thinks that maybe your client has CSS abilities turned off in browser, fairly sure that code should work in 4.7 NS..

Sorry I can't be of much more help, possibly you should direct your client to the netscape homepage to download a new browser.

PauletteB
04-16-2003, 06:33 PM
Netscape 4 doesn't like comments within.

...
text-decoration: none;
/*Change the above value to adjust the
padding as desired */
}

The following should work

...
text-decoration: none;
}
/*Change the above value to adjust the
padding as desired */