Re: [WSG] Center aligning links with a specified height

2005-08-22 Thread dwain alford
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

RE: [WSG] Center aligning links with a specified height

2005-08-22 Thread Adam Burmister \(DSL AK\)
] 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

Re: [WSG] Center aligning links with a specified height

2005-08-22 Thread Kenny Graham
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.

Re: [WSG] Center aligning links with a specified height

2005-08-22 Thread Nick Gleitzman
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

Re: [WSG] Center aligning links with a specified height

2005-08-22 Thread Kenny Graham
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

RE: [WSG] Center aligning links with a specified height

2005-08-22 Thread Adam Burmister \(DSL AK\)
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

Re: [WSG] Center aligning links with a specified height

2005-08-22 Thread Nick Gleitzman
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

[WSG] Center aligning links with a specified height

2005-08-21 Thread Adam Burmister \(DSL AK\)
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