PDA

View Full Version : CSS List problems



co2
October 25th, 2008, 05:19 PM
Link Here (http://www.trcaa.com/dev/guest/test.html)

In Firefox and Chrome
See how a couple of bullets are on the same line? Can someone explain to me why it is doing that and how I can fix it?

In IE7
See how my list is flying off to the right? Can someone explain to me why it is doing that and how I can fix it?

This has been driving me crazy:face:!

Thanks for your help

actionAction
October 25th, 2008, 05:36 PM
You have uls set to float:right. That's the problem.

co2
October 25th, 2008, 05:39 PM
Did you mean clear:right? What should it be set to?

actionAction
October 25th, 2008, 05:40 PM
No, I mean:

#mainContent li {
list-style:disc;
float:left;
clear:right;
}

remove the float and the clear, unless there is a reason why you want it that way.

co2
October 25th, 2008, 05:50 PM
That did the trick! Thanks for your help

actionAction
October 25th, 2008, 06:00 PM
no problem :thumb2: