Bruce,
Your selector [.content ol li ul li] refers to a list item within the unordered list, not the list itself. What you want is probably:
.content ol li ul { margin: 0 0 0 25px; list-style-type: none; font-size: 100%; color: #f00; }
Why you're having a problem with tiny fonts isn't obvious from this example; my guess is that it stems from elsewhere in your stylesheet.
Paul
PS: It's "ordered list" (numbered) and "unordered list" (bulleted) respectively... nothing disorganized about them!
At 01:36 PM 2/16/2005, Bruce Gilbert wrote:
I have an unorganized sublist <ul> with a organized list <ol> and it's not picking up my CSS. Sorry I don't have a link to the page I can display, but was hoping someone could assist based upon my code.
(x) html: <div class="content"> <ol> <li>first list item</li> <li>2nd list item</li>
<li>3rd list item: <ul> <li>first sublist item for 3rd list item</li> <li>2nd sublist item for 3rd list item</li> </ul> </li> <li>4th list item <ul> <li>1st sublist item for 4th list item</li> <li>2nd sublist item for 4th list item</li> </ul> </li> </ol> </div>
CSS:
.content ol li ul li { margin: 0 0 0 25px; list-style-type: none; font-size: 100%; color: #f00; }
I have a font size of 100.01% set up in the body tag.
my sublist is displaying really tiny and with bullets (should be no bullets)
any help is greatly appreciated!
-- ::Bruce:: ****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************