Forum Moderators: not2easy
#menu li, ul {list-style-type: none; text-align: center;}
but, if I add the following statement in the stylesheet, the menu list items are rendered the same as the in the main DIV:
#main li, ul {list-style-type: square; text-align: left; list-style-position: inside; }
(note* menu is not in main)
I would like each DIV to have uniquely styled lists, and for whatever reason the second statement overrides the first. Some confusion may arise in the actual CSS file because there are many declarations with regards to li and ul items, so are the CSS statements above correct? Thanks a lot!
#divone #menuone li, ul {list-style-type: none; text-align: center;}
#divtwo #maintwo li, ul {list-style-type: square; text-align: left; list-style-position: inside; }
HTML
<div id="divone">
<div id=menuone">MENU</div>
</div>
<div id="divtwo">
<div id=menutwo">MENU</div>
</div>
And so on.
Marshall