1

Maybe you can help.... I have this unordered list and it does not look right and my css power is limited:)

The border of the ul element does not wrap the entire list.

Please take a look at it's fiddle:

Ty!

4
  • You need to tell us what your goal is. It does not look right does not help. Commented Jan 6, 2012 at 19:20
  • We're supposed to guess what "looking right" is? Commented Jan 6, 2012 at 19:20
  • Why do you want to set the list items with the CSS rule float:left; Removing that line will fix the border around the unordered list. Commented Jan 6, 2012 at 19:22
  • Sorry about that, update the question - it's the border Commented Jan 6, 2012 at 19:24

2 Answers 2

4

Try adding

ul { overflow:auto; } 

or just overflow:auto; to your existing #lo style.

Sign up to request clarification or add additional context in comments.

Comments

1

from the style #lo li

remove float: left;

and add:

display: inline-block;

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.