R: [WSG] Centering all items in a li

2008-05-19 Thread Diego La Monica
- 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

Re: [WSG] Centering all items in a li

2008-05-19 Thread Matijs
-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

Re: [WSG] Centering all items in a li

2008-05-19 Thread Calvin Chan
: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

RE: [WSG] Centering all items in a li

2008-05-19 Thread Darren Lovelock
Sent: 19 May 2008 19:47 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Centering all items in a li Hi Darren, First of all, I will have to agree with Matijs that it is probably not the best place to use li. Second, I was actually doing some research on these type of problems the other day

Re: [WSG] Centering all items in a li

2008-05-19 Thread Сергей Кириченко
Неужели никто не знает про славного Стью Николса? anybody knows Stuart Nicholls? He found decision long time ago!! http://www.cssplay.co.uk/ie/valign.html Darren Lovelock пишет: Hi list, I've been trying to find a solution that will allow me to vertically center all the items in a li.

RE: [WSG] Centering all items in a li

2008-05-19 Thread Thierry Koblentz
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Lovelock Sent: Monday, May 19, 2008 12:20 PM To: wsg@webstandardsgroup.org Subject: RE: [WSG] Centering all items in a li   I've kind of fixed it using divs now.   #container { display: table-row; padding: 0; margin: 0

Re: [WSG] Centering all items in a li

2008-05-18 Thread Stuart Foulstone
I seem to remember someone in a previous thread, about similar problem, suggested using, display: table-cell; vertical-align: middle; On Sat, May 17, 2008 3:39 pm, Darren Lovelock wrote: Hi list, I've been trying to find a solution that will allow me to vertically center all the items in

RE: [WSG] Centering all items in a li

2008-05-18 Thread Darren Lovelock
2008 10:01 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Centering all items in a li I seem to remember someone in a previous thread, about similar problem, suggested using, display: table-cell; vertical-align: middle; On Sat, May 17, 2008 3:39 pm, Darren Lovelock wrote: Hi list, I've

Re: [WSG] Centering all items in a li

2008-05-18 Thread Matt Fellows
To: wsg@webstandardsgroup.org Subject: Re: [WSG] Centering all items in a li I seem to remember someone in a previous thread, about similar problem, suggested using, display: table-cell; vertical-align: middle; On Sat, May 17, 2008 3:39 pm, Darren Lovelock wrote: Hi list, I've been

RE: [WSG] Centering all items in a li

2008-05-18 Thread Darren Lovelock
] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Fellows Sent: 18 May 2008 02:58 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Centering all items in a li Sorry Darren - it was late an i was tired! Vertical/Horizontal, Left/Right... I don't think there is a need to do anything too exciting

Re: [WSG] Centering all items in a li

2008-05-18 Thread Matt Fellows
lol I think I will leave this one alone, I think i'm making you're job more difficult instead of the other way around! Please do send through your solution when you find it so I can have that 'light bulb' moment. Cheers, -- Matt Fellows http://www.onegeek.com.au/

Re: [WSG] Centering all items in a li

2008-05-18 Thread Rahul Gonsalves
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

RE: [WSG] Centering all items in a li

2008-05-18 Thread Darren Lovelock
@webstandardsgroup.org Subject: Re: [WSG] Centering all items in a li lol I think I will leave this one alone, I think i'm making you're job more difficult instead of the other way around! Please do send through your solution when you find it so I can have that 'light bulb' moment. Cheers

Re: [WSG] Centering all items in a li

2008-05-18 Thread Viable Design
for taking a look though :) Darren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Fellows Sent: 18 May 2008 13:09 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Centering all items in a li lol I think I will leave this one alone, I think i'm

Re: [WSG] Centering all items in a li

2008-05-18 Thread Matijs
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Fellows Sent: 18 May 2008 13:09 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Centering all items in a li lol I think I will leave this one alone, I think i'm making you're job more

RE: [WSG] Centering all items in a li

2008-05-18 Thread Darren Lovelock
@webstandardsgroup.org Subject: Re: [WSG] Centering all items in a li Darren, Try assigning a line-height and a height to the li, and make the two the same. Jo On Sun, May 18, 2008 at 8:54 AM, Darren Lovelock [EMAIL PROTECTED] wrote: Yeah it is a bit of a tricky one lol! Looks like this is one example

RE: [WSG] Centering all items in a li

2008-05-18 Thread Darren Lovelock
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

[WSG] Centering all items in a li

2008-05-17 Thread Darren Lovelock
Hi list, 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. So that kills the negative

Re: [WSG] Centering all items in a li

2008-05-17 Thread Matt Fellows
A demo would be helpful, but have you tried something along the lines of the following: div id=footer ul lia href=/link1Link1/a/li lia href=/link2Link2/a/li ... /ul /div div#footer{text-align:center;} div#footer ul li{display:inline;list-style-type:none; } Cheers, -- Matt Fellows

RE: [WSG] Centering all items in a li

2008-05-17 Thread Darren Lovelock
spana href=learn more/a/span /li /ol Hope it makes more sense now! Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Fellows Sent: 17 May 2008 15:57 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Centering all items in a li A demo

RE: [WSG] Centering all items in a li

2008-05-17 Thread David Hucklesby
On Sat, 17 May 2008 16:45:05 +0100, Darren Lovelock wrote: Hi Matt, I'm trying to vertically align all the items inside an li. This could be achieved with the valign of a table cell, but tables are not an option! The li's are floating left. I want the labels, inputs, p's etc to be

RE: [WSG] Centering all items in a li

2008-05-17 Thread Darren Lovelock
] On Behalf Of David Hucklesby Sent: 17 May 2008 22:31 To: wsg@webstandardsgroup.org Subject: RE: [WSG] Centering all items in a li On Sat, 17 May 2008 16:45:05 +0100, Darren Lovelock wrote: Hi Matt, I'm trying to vertically align all the items inside an li. This could be achieved

Re: [WSG] Centering all items in a li

2008-05-17 Thread Ben Wong
be vertically aligned in the center of the td's. Darren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Hucklesby Sent: 17 May 2008 22:31 To: wsg@webstandardsgroup.org Subject: RE: [WSG] Centering all items in a li On Sat, 17 May 2008 16:45:05 +0100

Re: [WSG] Centering all items in a li

2008-05-17 Thread Matt Fellows
Sorry Darren - it was late an i was tired! Vertical/Horizontal, Left/Right... I don't think there is a need to do anything too exciting, the container of the list should just need a text-align:center. Is this basically what you are after? I have made the div only 300px wide so you get the

Re: [WSG] Centering all items in a li

2008-05-17 Thread Adam Martin
For those suggesting line-height. I think that is a very bad idea, because if the line is more than 1 line, then the height will end up being number of lines x line-height. For example - setting line-height at 200px. 3 lines of text would make it 600px high with 200px between text. Cheers Adam