Reply to Re: CSS: Class error

Your name:

Reply:


Posted by Els on 02/26/06 04:15

David Dorward wrote:

> Els wrote:
>
>> Then just use #sverige. There is only one element with id 'sverige' on
>> the page (I hope!), so the class need not be mentioned.
>
> The same stylesheet might be used with multiple documents with an element of
> id "sverige" but different pages could have different classes assigned to
> that element.

Yes - I actually thought of that before I wrote my reply, but I didn't
want to complicate the matter further than necessary. That is, because
I was under the impression that .foo#bar wasn't an allowed
combination.

Apparently, according to this link:
http://penguin.theopalgroup.com/cgi-bin/css3explainer/selectoracle.py
you can actually write it exactly as Luigi described.

I didn't know that though - is it correct according to the W3C spec?

--
Els http://locusmeus.com/

[Back to original 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

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