-
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
-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
: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
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
Неужели никто не знает про славного Стью Николса?
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.
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
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
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
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
] [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
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/
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
@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
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
-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
@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
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
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
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
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
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
] 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
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
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
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
25 matches
Mail list logo