You are here: Re: Lists with multiple styles « HTML « IT news, forums, messages
Re: Lists with multiple styles

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация