471,618 Members | 1,315 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

Centering Unordered Lists

I'm struggling slowly through this CSS but I'm getting it bit by bit. I've looked around and can't seem to find any solution that centers the list items in my unordered list. It's a 100% width ul and can be found at http://www.antiriddle.com/test.

Any ideas?
Aug 18 '07 #1
2 1357
drhowarddrfine
7,435 Expert 4TB
You can't center something that is width:100%. Remove that and make it smaller, then set margin:0 auto;
Aug 18 '07 #2
Fixed it, excellent. Again, thank you so much this has been so helpful today. I've got my layout basically finished now. I'm going to get some of the basic graphic groundwork down before I really start going at the coding part of it. Thanks!
Aug 18 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Franćois de Dardel | last post: by
19 posts views Thread by George Ziniewicz | last post: by
4 posts views Thread by Justin Archie | last post: by
reply views Thread by Steve Dorsey | last post: by
3 posts views Thread by laredotornado | last post: by
1 post views Thread by XIAOLAOHU | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.