Excellent!  That did the trick.  Thank you.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of cj
Sent: Thursday, August 03, 2006 1:13 PM
To: Denise
Cc: css-d
Subject: Re: [css-d] Centering an inline list?


the reason it's not centering with the (correct for what you're trying
to do) margins you have is because the <ul> is 100% width.  if firefox
actually had inline-block, you could set the display to that and be
done, but alas...  :'(

to be cross-browser, try something like
#mdmenu ul {list-style:none; margin:0px auto;width: 40em;}


______________________________________________________________________
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/

Reply via email to