Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CSS ID's and Netscape

0 views
Skip to first unread message

Joe

unread,
Jul 23, 2001, 3:24:25 PM7/23/01
to
If you have a CSS like this
.navbar {color: red}
or whatever, you would say <P CLASS="navbar">
But if I try and use that with the anchor tag <A ...> it doesn't work
correctly in Netscape. My CSS looks something like the following:
A:link.menu {color: red}
A:hover.menu {color: blue}
A:link.main {color: blue}
A:hover.main {color: black}
I know this is very basic...it's just an example. In IE it works fine I can
have <A CLASS="menu"> or use "main" and it works as it should. But in
netscape it doesn't work at all. It displays the default link attributes
(as if using <A without the CLASS)
Is this a problem with Netscape or with my CSS?
Thanks,

Joe Mumbauer.


Manish

unread,
Jul 23, 2001, 4:06:06 PM7/23/01
to
AFAIK,

pseudo class A:hover is not supported in NN4.x,
other than that different colors for different classes should be visible.

- Manish
http://www.technofundo.com/

"Joe" <mumb...@kutztown.edu> wrote in message
news:O7DbW06EBHA.1364@tkmsftngp05...

Joe

unread,
Jul 23, 2001, 6:23:45 PM7/23/01
to
I know the hover isn't supported but all the other colors aren't showing
up...link, visited, and active. They work as long as I don't try to use
classes.
i.e. A:link.menu doesn't work A:link does. But I need to have seperate
classes for my webpage.

Joe Mumbauer.


Steve Fulton

unread,
Jul 24, 2001, 7:45:02 AM7/24/01
to
Microsoft's "don't bother learning CSS, we'll guess what you meant"
philosophy strikes again! Use the correct syntax for non-IE browsers:

a.menu:link

--
Every new opinion, at its starting, is precisely in a minority of
one. -Thomas Carlyle

=-=-=
Steve
-=-=-

"Joe" <Mumb...@Kutztown.edu> wrote in message
news:ukUE9c8EBHA.1740@tkmsftngp02...

Joe

unread,
Jul 24, 2001, 9:14:41 AM7/24/01
to
Thanks, I can't try it right now, but hey if you actually Learned CSS then I
guess it must work ;)

Joe Mumbauer.


0 new messages