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
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.
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
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
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
> 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
*/
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
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
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 {
> 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
> 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
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
12 matches
Mail list logo