Hi all - I'm STUMPED. I'm sure most of you use unordered lists to do horizontal navigation bars. You're taking an unordered list, floating the list items to the left, and applying padding and margins to space the items out, apply background images, etc.
But now that it's floated, what if you want to center the list in, say a containing div? That's what I'm trying to do, and I've gotten myself totally stumped. You all may not need the example, but the code looks something like this: <div id="navbar"> <ul> <li id="home"><a>...</a></li> <li id="about"><a>...</a></li> <li id="contact"><a>...</a></li> </ul> <div> The whole div is contained by another div that is floated and cleared because of the way I've done the overall page layout. And as I said, the list items area floated left to get them to snap horizontal. The page is fixed width, 720px. How can I center this in a way that increasing or decreasing the font size in the browser isn't going to totally break the centering? HELP! (And thanks :) ) Matt ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/