CSS inheritance and Opera

by Chuck Evans <Chucke(at)captura.com>

 Date:  Thu, 20 Apr 2000 12:25:55 -0700
 To:  "'HWG Style'" <hwg-style(at)hwg.org>
  todo: View Thread, Original
I'm working up a new style sheet and all goes well except in Opera. I have a
navigation bar with light and dark blue table cells and the link within. My
desire is to have the link text appear white in all cases except the hover
pseudo-class. In IE and NS, everything is fine, but in Opera 3.6 and
4.0beta, unvisited links are showing up as the site's default link color of
dark blue. Once clicked/visited, they turn white.

I checked to see if there is a pseudo-class I'm not putting in (something
like a.topnav:notvisitedyet) but my CSS spec doesn't show one. Help!

Here is the style sheet section pertaining to those links:

.topnav {
	color : #FFFFFF;
	text-decoration : none;
}

a.topnav  {
	color : #FFFFFF;
	text-decoration : none;
}

a.topnav:visited  {
	color : #FFFFFF;
	text-decoration : none;
}

a.topnav:active  {
	color : #FFFFFF;
	text-decoration : none;
}

a.topnav:hover  {
	color : #FFFF00;
	text-decoration : none;
}

In case this has anything to do with it (inheritance-wise), my default
a:visited, etc. links appear BEFORE the topnav link stuff in the CSS, and
the classes that color the TD cells appears AFTER it, and is:

.darkbluecell  {
	font-family : Verdana,Arial,Helvetica,sans-serif;
	font-size : 8pt;
	color : #FFFFFF;
	background-color : #000066;
}

.lightbluecell  {
	font-family : Verdana,Arial,Helvetica,sans-serif;
	font-size : 8pt;
	color : #FFFFFF;
	background-color : #0066CC;
}

---------------------------------------------------------
Chuck Evans
Web Marketing Manager
Captura Software, Inc.
(425) 424-1155
chucke(at)captura.com
www.captura.com

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

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.