|
Posted by Jim Higson on 07/01/06 16:02
Jonathan N. Little wrote:
> Jim Higson wrote:
>> Luigi Donatello Asero wrote:
>>
>>> Hello,
>>> How do I write ul class and id in an external style sheet?
>>> Are the forms
>>> #domaener.subsubsection ul {
>>> }
>>> and
>>> <ul class="subsubsection" id="domaener">
>>> both accepted
>>> or perhaps wrong?
>>
>> instead of "subsubsection" it might be neater to use XHTML2 style
>> nesting. For example, this selector matches a section in a section in a
>> section:
>>
>> .section .section .section
>>
>>
>
> Don't what that has to do XHTML, CSS2.1 does nesting selector just dandy.
[snip]
> Don't get Luigi confused with XHTML, he is dangerous enough in HTML
When I described it as "XHTML2 style", I was making a reference to the
proposed XHTML2 section element, which is intended to be used with CSS
selectors like:
section section section
To indicate what you might call a "subsubsection". I think the example I
gave of:
.section .section .section
can be honestly described as similar in style, no?
--
Jim
Navigation:
[Reply to this message]
|