Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: iProxy on May 06, 2008, 12:15:56 PM

Title: (2.0b 3.1P) Color in online list
Post by: iProxy on May 06, 2008, 12:15:56 PM
Hello, I have added few color (Color in online list) and many don't work like:

0000FF or 00AC00

I don't see color any idea ?
Title: Re: (2.0b 3.1P) Color in online list
Post by: rsw686 on May 06, 2008, 12:19:47 PM
You need a # in front of the color code.
Title: Re: (2.0b 3.1P) Color in online list
Post by: iProxy on May 06, 2008, 12:33:43 PM
wow it's work !

but with this color FF00FF work without # srtange no ?
Title: Re: (2.0b 3.1P) Color in online list
Post by: rsw686 on May 06, 2008, 12:36:40 PM
The # symbol is used in CSS style sheets. When you fill in a color code all it does is apply a style to that element. If it always added a # then you couldn't just use the word red, blue, etc.
Title: Re: (2.0b 3.1P) Color in online list
Post by: iProxy on May 06, 2008, 03:35:10 PM
ok thanks this topic it's solved