You are here: Re: [CSS] Quickie: Is it possible to have child Class under ID ? « HTML « IT news, forums, messages
Re: [CSS] Quickie: Is it possible to have child Class under ID ?

Posted by Jonathan N. Little on 08/21/06 15:44

Steve Kostecke wrote:
> Say I have a <div id="content"> for the main content column, and within
> that column, I have several items, ie <div class="item"> (each would be
> some sort of article of sorts.)
>
> In the CSS say I have #content { ... }
>
> Why is it I cannot have #content.item { ... } as this seems to fail on
> any browser that I've tried (IE 6, FF 1.5, Moz 1.8b, NS 7, Opera 8), but
> I do seem to recall that this was possible but I can't find the correct
> syntax for this particular construct.

Sure it will work, you must be doing something else wrong that you do
not have in your message, URL of an example where it fails for you will
help.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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