Thanks Geoffrey for your reply. The solution you suggest will not work since 
the container div or ul are of auto widths. If they would be fixed... would be 
nice and no problem with centering. As I said, adding or eliminating links from 
the list condition needs a flexible container.



--- On Wed, 4/1/09, Geoffrey Hoffman <geo...@globalmediaminds.com> wrote:

From: Geoffrey Hoffman <geo...@globalmediaminds.com>
Subject: Re: [css-d] center float:left



Did you try something like:

UL or enclosing DIV ~ display:inline; margin-left:auto; margin-right:auto; 
text-align:center;
LI's ~ display:inline; white-space:no-wrap;
A's ~ display:block; width:###px; 




      
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to