Previous Message
Next Message

Question about ">" and targeting IE/Mac

Sent by Adam Kuehn on 24 March 2006 22:10


Michael Hulse wrote:
>I need to change this:
>
>* html>body dl.hNav>dd
>
>to use an ID, like this:
>
>* html>body #hNav dl>dd

What is your markup?  Based on those selectors, you have moved from 
something like this:

<div>
<dl class="hNav"><dd></dd></dl>
</div>

To something like this:

<div id="hNav">
<dl><dd></dd></dl>

Did you mean to move the ID, or did you just replace it, like so:

<div>
<dl id="hNav"><dd></dd></dl>
</div>

If this last is true, your selector should be this:

* html>body #hNav dd

So you see, it is hard to give you a straight answer unless we see 
the markup, too.

HTH,


-Adam Kuehn 

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/
Previous Message
Next Message

Message thread: