News:

Wondering if this will always be free?  See why free is better.

Main Menu

Need help validating CSS

Started by guppy, June 25, 2005, 03:56:49 AM

Previous topic - Next topic

guppy

Hi,

I need some help to validate CSS.

I got this error on my portal home page but there's no "Orange" in my css file..

QuoteLine: 258
Invalid number : color Orange is not a color value : Orange

And I have plentiful of this error on my forum index:

QuoteLine: 552
Invalid number : color Parse Error -

Amacythe

QuoteThe new board will be moderated by <span style="color: Orange;">jez4christ</span> from TK Innovations. He&#039;s currently out of town so we await to see what he has for us <img src="http://www.salvojure.info/smc/Smileys/smilies_smf/rolleyes.gif" alt="Roll Eyes" border="0" /><br /><br />Cheers!

It looks like the color problem is in a post, not in the css file. 

[Unknown]

IIRC, colors should be lowercase.

-[Unknown]

guppy

Quote from: Amacythe on June 25, 2005, 05:08:34 AM
QuoteThe new board will be moderated by <span style="color: Orange;">jez4christ</span> from TK Innovations. He&#039;s currently out of town so we await to see what he has for us <img src="http://www.salvojure.info/smc/Smileys/smilies_smf/rolleyes.gif" alt="Roll Eyes" border="0" /><br /><br />Cheers!

It looks like the color problem is in a post, not in the css file. 

thanks  ;)
strange. i used BBC to add the color. how and shld i fix it?

guppy

Quote from: [Unknown] on June 25, 2005, 01:38:39 PM
IIRC, colors should be lowercase.

-[Unknown]

thanks  ;)

the default css file has uppercase too  :-\

anyway, i changed the cases in the css file and index.template.php and ended up with 4 of those errors left. i tot i'll change those for the special groups too but ended up with 5 errors. i've no clue where else to look for them  :'(

[Unknown]

Quote from: iwyen on June 26, 2005, 10:27:24 PM
Quote from: [Unknown] on June 25, 2005, 01:38:39 PM
IIRC, colors should be lowercase.

-[Unknown]

thanks  ;)

the default css file has uppercase too  :-\

I may be wrong, but I meant that this:

color: Orange;

Was wrong, while this:

color: orange;

Is fine.  Also fine would be any of:

color: #FF8800;
color: #fF8800;
color: #ff8800;
color: #Ff8800;

Which are hex values, not color names.

-[Unknown]

guppy

Ooophs.. I assume I'm exhausted of solutions then. So I'll pretend I didn't see the errors  :-X

Advertisement: