Re: [css-d] center float:left

2009-04-02 Thread Gunlaug Sørtun
AG wrote: > Bill, thanks for your reply. In your suggestion, it appears to me > that if you don't float the li, all links will stack up in the center > of the container. Not so. Inline-block lines up inline - in line, and the whole menu can then be centered within body or whatever element you wa

Re: [css-d] center float:left

2009-04-02 Thread AG
Subject: Re: [css-d] center float:left To: css-d@lists.css-discuss.org Date: Thursday, April 2, 2009, 7:23 AM > Here's the problem: > - building a horizontal tabbed navigation bar with these conditions: > > 1. equal width of tabs > 2. centered to the width of the body > 3.

Re: [css-d] center float:left

2009-04-02 Thread AG
Now this solution, still stacks-up links one under another in IE6. --- On Thu, 4/2/09, Bill Brown wrote: From: Bill Brown Subject: Re: [css-d] center float:left To: "AG" Cc: css-d@lists.css-discuss.org Date: Thursday, April 2, 2009, 9:37 AM AG wrote: > Bill, thanks for your r

Re: [css-d] center float:left

2009-04-02 Thread AG
have drop down menus [with Suckerfish], I've not experimented with this approach yet. Thanks for your reply Virgil. --- On Thu, 4/2/09, Virgilio Quilario wrote: From: Virgilio Quilario Subject: Re: [css-d] center float:left dynamically generated you mean using javascript? if so, use jav

Re: [css-d] center float:left

2009-04-02 Thread Bill Brown
AG wrote: > Bill, thanks for your reply. In your suggestion, it appears to me > that if you don't float the li, all links will stack up in the center > of the container. My apologies, I thought that was what you were looking for . ;-) Maybe something like this is better? ul,li{list-sty

Re: [css-d] center float:left

2009-04-02 Thread Jon Wickström
> Here's the problem: > - building a horizontal tabbed navigation bar with these conditions: > > 1. equal width of tabs > 2. centered to the width of the body > 3. preserve centering when adding/subtracting tabs > [dynamically generated links/tabs] Sorry to drop in in the middle, but I'm too new

Re: [css-d] center float:left

2009-04-02 Thread AG
*/     padding: 10px;     width: 7em;     } ul#nav li a:hover    {     }       link 1     link 2     link 3     link 4     link 5     link 6   --- On Thu, 4/2/09, Bill Brown wrote: From: Bill Brown Subject: Re: [css-d] center float:left Something like

Re: [css-d] center float:left

2009-04-02 Thread AG
Wed, 4/1/09, Geoffrey Hoffman wrote: From: Geoffrey Hoffman 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:bl

Re: [css-d] center float:left

2009-04-02 Thread Bill Brown
AG wrote: > Here's the problem: - building a horizontal tabbed navigation bar [snipped] > Any ideas would be greatly appreciated. Needs to work in IE6 and all > normal browsers. Something like this? ~~~ [CSS] ul.tabs,ul.tabs li{list-style:none;margin:0;padding:0;} ul.tabs {

Re: [css-d] center float:left

2009-04-02 Thread Virgilio Quilario
> Here's the problem: > - building a horizontal tabbed navigation bar with these conditions: > > 1. equal width of tabs > 2. centered to the width of the body > 3. preserve centering when adding/subtracting tabs [dynamically generated > links/tabs] > > All menus based upon the type of lists use a

Re: [css-d] center float:left

2009-04-01 Thread Geoffrey Hoffman
> From: css-d-boun...@lists.css-discuss.org on behalf of AG > Sent: Wed 4/1/2009 4:26 PM > To: css-d@lists.css-discuss.org > Subject: [css-d] center float:left > > Here's the problem: > - building a horizontal tabbed navigation bar with these conditions

[css-d] center float:left

2009-04-01 Thread AG
Here's the problem: - building a horizontal tabbed navigation bar with these conditions: 1. equal width of tabs 2. centered to the width of the body 3. preserve centering when adding/subtracting tabs [dynamically generated links/tabs] All menus based upon the type of lists use a float:left or r