[thelist] CSS problems

Gina K. Anderson gina at sitediva.com
Mon Nov 13 15:28:54 CST 2000


Tab,

|without checking my facts, I *think* that <body> tags may override external
|style sheets.. you may have to put the styles inline.  Do you know if your
|stylesheet is linked properly?  (does anything else in the style sheet
|work?)

Yep, the rest of the stylesheet works. The default links are beige, but I have
*classes* on some of the links that make them white, some that make them blue,
and some that stay the same color but give a point size, and they are working.
The only ones without classes are not working turning blue for me with the:

A {
	color : #333366;
	text-decoration : none;
}


Could that be the reason? You'd still think the stylesheet would override body,
classes or no classes.

Here's the body tag:
<body bgcolor="#FFFFFF" text="#000000" link="#CCCC99" vlink="#CCCC99"
alink="#CCCC99">

Here's the whole stylesheet code (I have another in larger point sizes for Mac,
but otherwise it's the same):

BODY, P {
	font-family : Verdana, Arial, Helvetica, sans-serif;;
	font-size : 9pt;
}

TABLE, TR, TD {
	font-family : Verdana, Arial, Helvetica, sans-serif;;
	font-size : 9pt;
}

A {
	color : #333366;
	text-decoration : none;
}

A:HOVER {
	color : #333366;
	text-decoration : underline;
}

A:VISITED {
	color : #333366;
	text-decoration : none;
}

A:LINK {
	color : #333366;
	text-decoration : none;
}

B {
	color : #333366;
}


/* classes */
.bluelinks {
	font-size : 9pt;
	color : #333366;
}

.lgbluelinks {
	font-size : 10pt;
	color : #333366;
}

.navbeige {
	font-size : 8pt;
}

.navwhite {
	font-size: 8pt;
	color: #FFFFFF
}




Thanks,
Gina





More information about the thelist mailing list