[EMAIL PROTECTED] wrote:
>>> (Should I create a class to attach to the ul?)
>> The short answer is "yes", but a better (longer) answer is you should
>> use an ID, since there's only likely to be one instance of it per page.
>
> Thank you, so then it would be (for instance)
>
> <ul id="sub-menu-page" class="sub-menu-page">
> <li id="sub-menu-page" class="sub-menu-page"></li>
> </ul>
>
> and
>
> .sub-menu-page {
> border: none;
> margin-left: 0px;
> padding-left: 0px;
> list-style-type: none;
> list-style-position: inside;
> list-style-image: none;
> } (or whatever styles I want)
>
> and I would attach this class to both ul id="sub-menu-page"
> class="sub-menu-page" and li id="sub-menu-page" class="sub-menu-page", is this
> correct?
No, you only need the ID on the UL. Then you change your class
".sub-menu-page" to this:
#sub-menu-page ul { style stuff here }
This targets only that UL tag with that ID, I think.
--
David
[EMAIL PROTECTED]
authenticity, honesty, community
______________________________________________________________________
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/