Sent by Jeremy Amos on 27 January 2006 19:07
On Jan 27, 2006, at 1:26 PM, cj wrote:
>> I am using the suckerfish menu but also need regular list items on
>> the same page. How do I differentiaite between the two <LI> tags??
>>
>> what I have turns every list item into a vertical manu item.
>
> you're on the right track. just wrap your menu list in a <div>, and
> use that div to style your menu seperately.
unless you have need of the extraneous div for other purposes, simply
apply the class to the ul itself. it'll keep the markup leaner.
assuming you use <ul class='menu'>, your css would be
ul.menu {
*styles here*
}
..menu li {
*styles here*
}
and so on..
alternatively, look to see if there's already an identifying element
that can be used to hook the styles onto - for instance, if this is
part of a div with an id of header, and you have no plans to add
additional lists to the header, you can use that ID to identify the
list. The concept of the cascade can be tough to grasp at times, but
it most definitely is worth the effort to learn.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/