|
Posted by Dylan Parry on 11/21/06 16:52
Bergamot wrote:
> Dylan Parry wrote:
>> I can't remember whether some browsers have problems with class names
>> containing hyphens though
>
> The issue was with underscores, not hyphens. IIRC, underscores weren't
> valid in the initial CSS 2.0 spec, but were added in an addendum.
Ah, underscores was my other thought :) I tend not to use hyphens
anyway, but that's probably because hyphenated (or underscored)
variables names are generally a no-no in many of the programming
languages I have used, and it's a habit I've carried across to markup
languages too I guess.
> Hyphens have always been acceptable, by every UA I know of.
That's good to know, and I don't mind saying I was wrong, but I still
don't like using them ;)
--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk
Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
Navigation:
[Reply to this message]
|