On 10/30/05, Trish Meyer <[EMAIL PROTECTED]> wrote:

> Also, is there any difference between
>
>       div#summary p
>
>       #summary p
>
>       p#summary
>
They select different things:
The first selects any P element which is a descendant of a div with an
id of 'summary'
The second removes the restriction on the container being a div - if
you had <td id="summary" it would also work.

The third selects a single paragraph which itself has an id of
"summary" and is not interchangable with the first two.
--
Richard Grevers
New Plymouth, New Zealand
Orphan Gmail invites free to good homes.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to