[thelist] css vertical positioning question
Lee Kowalkowski
lee.kowalkowski at googlemail.com
Thu Jan 3 05:17:28 CST 2008
On 02/01/2008, Kevin Timmins <kipper_timmins at yahoo.co.uk> wrote:
> Hi there,
> Hrmm for the menu bar, i think you might like to use a table (i'm sorry{i
> just don't see another way of getting it to do what you want.})
Grr! I mean, thanks, I wasn't going to help-out until tables were suggested!
#nav {
background: #fff;
border-bottom: 4px solid #fff;
margin: 0;
padding: 0;
height: 2.2em;
/* center contents */
text-align: center;
}
#nav li {
display: inline;
}
#nav li a {
padding: 6px;
background-color: #858F9E;
text-decoration: none;
color: #ddd;
font-size: 1em;
font-weight: bold;
/* wrap gracefully */
line-height:2.2em;
white-space:nowrap;
}
--
Lee
More information about the thelist
mailing list