Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Yellow highlight - what am I doing wrong!?!

Status
Not open for further replies.

AndyGroom

Programmer
May 23, 2001
972
GB
Hi,

I've declared a style sheet as follows:

<STYLE TYPE='text/css'>
<!- -//
.Hi {background: #COFFFF}
// - ->
</STYLE>

And within my document I've got:

<SPAN CLASS='Hi'>Blah Blah Blah</SPAN>

I hoped to get text on a yellow background, but I don't. What am I doing wrong please? I've tried background-color and bgcolor instead of background but they don't work either.

- Andy.
 
Ok, forget it, it helps if you use a Zero instead of a capital O in the colour...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top