Ed Seehouse wrote:
>On 11/26/06, Ross Hulford <[EMAIL PROTECTED]> wrote:
>
>
>>What is the selector for all divs?
>>
>>
>
>The selector in general for all of a given element is the element name.
>So for div the selector is:
>
>div {css rule here}
>
>and similarly the selector for all paragraphs is
>
>p {}
>
>and it generalizes to pretty well anything.
>
>Others have given you the specific answer but I suspect the question
>indicates a misunderstanding of how selectors work that I have
>hopefully cleared up.
>
>
Hi Ross,
In addition, for your bookmark library! :-)
* Theoretical explaining
All selector rules can be found in the selector part of the w3c
style rules:
http://www.w3.org/TR/CSS21/selector.html#q1
* Practical explaining
The effect of a home made selector can be seen online on:
http://gallery.theopalgroup.com/selectoracle/index.html
* Testing
Not all browsers do understand all the css2.1 rules (no names, IE),
so the best you can do is testing a more complex selector in
different browsers...
Greetings,
francky
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/