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] style type='text/css' ul.tabs,ul.tabs li{list-style:none;margin:0;padding:0;}

Re: [css-d] center float:left

2009-04-02 Thread AG
. --- 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

Re: [css-d] center float:left

2009-04-02 Thread AG
/2/09, Bill Brown macnim...@gmail.com wrote: From: Bill Brown macnim...@gmail.com Subject: Re: [css-d] center float:left Something like this? ~~~ [CSS]      style type='text/css'      ul.tabs,ul.tabs li{list-style:none;margin:0;padding:0;}      ul.tabs {        text-align: center

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 on the

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? style type='text/css'

Re: [css-d] center float:left

2009-04-02 Thread AG
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 virgilio.quila...@gmail.com wrote: From: Virgilio Quilario virgilio.quila...@gmail.com Subject: Re: [css-d] center float:left dynamically generated

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 macnim...@gmail.com wrote: From: Bill Brown macnim...@gmail.com Subject: Re: [css-d] center float:left To: AG rovis...@yahoo.com Cc: css-d@lists.css-discuss.org Date: Thursday, April 2, 2009, 9:37

Re: [css-d] center float:left

2009-04-02 Thread AG
: From: Jon Wickström jon.wickst...@arrak.fi 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

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 want

[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 ul type of lists use a float:left

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: 1. equal