Bjoern Hoehrmann wrote:
> * Brian Cummiskey wrote:
>> <textarea name="code" class="HTML:nogutter:nocontrols" cols="60"
>> rows="1">
>
>> cane someone explain the colons in the class?
>
> They are just like any other character, there is nothing special about
> them.
There's the special thing about them that in CSS, the colon needs to be
"escaped", usually as \: (i.e., a backslash is written before the
colon). The reason is that the colon is a special character in CSS
syntax in pseudo-class and pseudo-element selectors.
> Most likely the colon has been chosen because it is commonly
> used for namespaces and component separation.
Or looks cool.
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/