Hi Darren,
  did you ever tried:

label{
        float:left;
        clear:left; 
}

It's better than now. :)

Cheers.

Diego La Monica
Web 2.0 - Standards - Accessibilità
mobile: +39 3337235382 - skype: diego.la.monica
web: http://diegolamonica.info - http://jastegg.it
 
-----Messaggio originale-----
Da: Darren Lovelock [mailto:[EMAIL PROTECTED] 
Inviato: lunedì 19 maggio 2008 0.04
A: wsg@webstandardsgroup.org
Oggetto: RE: [WSG] Centering all items in a li

Here's a example of what I'm doing http://www.munkyonline.co.uk/test.html

I want the li's to behave the same as table cells set with valign:middle.

I've had to float the li's left instead of displaying them inline otherwise
they stack on top of each other in a mess!

I suppose looking at it I could have used divs instead of a list but either
way, I think it will still behave the same.

Cheers,

Darren


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rahul Gonsalves
Sent: 18 May 2008 13:46
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Centering all items in a li

Darren,

On 17-May-08, at 8:09 PM, Darren Lovelock wrote:

> I've been trying to find a solution that will allow me to vertically 
> center all the items in a li. The big problems i've got are that the 
> li's are a non-fixed height and are floating to the left.

A link to a stripped down test would be helpful.

However, if you can't post a link, perhaps one of the links below will be
helpful to you?

Best,
  - Rahul.

[1] http://www.brunildo.org/test/
[2] http://www.brunildo.org/test/vertmiddle.html
[3] http://www.brunildo.org/test/valimid2.html
[4] http://www.brunildo.org/test/va_lineheight.html


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to