Adam Burmister (DSL AK) wrote:
Hi everybody,
Long time reader - first time poster here.
I've currently got a doozie that I've been struggling with for hours.
The final product looks simple enough, but I can't for the life of me
get it - help me WSG, you're my only hope.
is there a url where
] On Behalf Of dwain alford
Sent: Monday, 22 August 2005 6:23 p.m.
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Center aligning links with a specified height
Adam Burmister (DSL AK) wrote:
Hi everybody,
Long time reader - first time poster here.
I've currently got a doozie that I've been
Try keeping them inline, and setting line-height to 40px. As long
as word-wrap doesn't become a factor, that should work fine. But
since you're using pixels, I'm guessing word-wrap would already cause
problems anyway.
On 23 Aug 2005, at 7:48 AM, Kenny Graham wrote:
Try keeping them inline, and setting line-height to 40px. As long as
word-wrap doesn't become a factor, that should work fine. But since
you're using pixels, I'm guessing word-wrap would already cause
problems anyway.
Hmm... line-height on
I got it working in firefox and almost in IE/Win (height is way bigger
than it's supposed to be in IE) by changing the li a in Nick's
example to:
li a {
background: #eee;
display: inline-block ;
/*height: 50px;*/
line-height: 50px;
font-size: 14px;
padding: 17px 20px;
}
Now, keep in mind
Title: RE: [WSG] Center aligning links with a specified height
I think Ive found a solution it requires a separate padding style for IE though.
http://labs.flog.co.nz/css-help/solution.htm
ul {
list-style-type:none;
background: #cfc;
height: 40px;
overflow: hidden;
}
li
On 23 Aug 2005, at 8:41 AM, Adam Burmister ((DSL AK)) wrote:
Could somebody please check it in Safari?
Hmm again - not quite.
See http://www.omnivision.com.au/test/safari.gif
Sorry, gotta go to work right now - I'll check in later and see how
you're doing...
N
Hi everybody,
Long time reader - first time poster here.
I've currently got a doozie that I've been struggling with for hours.
The final product looks simple enough, but I can't for the life of me
get it - help me WSG, you're my only hope.
What I want is a center aligned list (UL LI's) of links