Forum Moderators: not2easy

Message Too Old, No Replies

list width

css list width

         

tat2d

9:28 pm on Dec 20, 2009 (gmt 0)

10+ Year Member



I am having trouble getting my unordered lists to resize correctly. The CSS I'm using was made for a single level list, but I'm adding multiple levels. When I add a new sublist, the width of the list doesn't change, it just moves over and overlaps the content on it's right. You can see what I mean by viewing the left nav located here:

/*snip*/

Any ideas?

[edited by: limbo at 9:47 pm (utc) on Dec. 20, 2009]
[edit reason] No URL's please, see TOS [webmasterworld.com] [/edit]

limbo

9:49 pm on Dec 20, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi tat2d

Welcome to WebmasterWorld [webmasterworld.com] :)

By the sounds of things your child list items have the same widths as their parents

Have you tried using decendent selectors to target the children and give them the appropriate styles?

tat2d

10:35 pm on Dec 20, 2009 (gmt 0)

10+ Year Member



Oh ok, I found it, thanks!