On 3/31/07, david <[EMAIL PROTECTED]> wrote:
>
> [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.
>
>
> 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 }



Define
#submenupage {margins,padding,bckgn color, font etc }
ul#submenupage {define style for ul}
ul#submenupage li {define style for li}
ul#submenupage li a:link, ul#submenupage li a:hover {define style for link
and hover etc}
ul#submenupage li a:hover {define style for hover}

Kisan Bhat
______________________________________________________________________
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