On 20 Mar 2007, at 08:23, Rory@ leftangle wrote:
> However, can you tell me the correct inheritance syntax so that  
> this ul
> navigation list and its nested lists  can be differentiated from a  
> default
> ul which maybe used in a cms system by a non coder.
>
> This is the html, css and js (for IE6) which works before I attempt  
> to make
> it specific to some selector.
>
> <ul id="nav">
> <li><a href="#">Home</a></li>
> <li><a href="#">About</a>
>    <ul>
>      <li><a href="#">History</a></li>
>      <li><a href="#">Team</a></li>
>   </ul>
> </li>
> <li><a href="#">Services</a></li>
> </ul>

Sure: you can use the ID of "nav" as your hook:

ul#nav {...}
#nav li {...}
etc.

The ID should be specific enough to clobber any other CSS which may  
filter down from the CMS.



______________________________________________________________________
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/

Reply via email to