Some items of importance on our home page our highligted.
The color shows fine in IE, but Mozilla, FireFox, Opera and NS seem to ignore it.
I created different classes for different colors,
Example:<div class="highlight"> SomeText </div> will give the color assigned to 'highlight" in IE, but is totally ignored in other browsers.
Is there a work around for this?

gohankid77

10-06-2004, 04:07 PM

Um, could we possibly obtain a URL or see some code?

It sounds like you did everything right:

div.highlight {
background-color: #00f; /* just an example */
}

Catman

10-06-2004, 04:37 PM

As gohankid77 says, it's hard to say without seeing the code. But my first guess is that you've used an uppercase letter in naming your class but used all lower case in the HTML. All the browsers you list as not showing the background color require that the class name match exactly, both case and letters.

AaronW

10-06-2004, 04:39 PM

And if the text is inline, you ought to be using a <span> :P

solyluna

10-06-2004, 04:58 PM

http://www.kpft.org

<span> tag cuts of at the end of the sentence, and makes the display look ugly, hence the <div>.

That would select class="className". Why you have .class.className, I have no idea...

gohankid77

10-06-2004, 05:14 PM

Perhaps solyluna is used to scripting? I don't know since I don't script (much).

AaronW

10-06-2004, 05:15 PM

She got .sidemenu and .maintext right, though... Heh. Unless it was a collaborative style sheet.

solyluna

10-06-2004, 07:36 PM

Thanks!
That's what you get for not looking at Everything when you let some one else work on a collaborative effort. Since it worked in IE I never paid a lot of attention to the syntax.
Thanks for putting me straight - IE is WAAAYYY too forgiving...

solyluna

10-10-2004, 03:00 PM

Everything looks right now in ALL browsers, except Netscape 4.8.
Thanks again!