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 
> vertically aligned
> in their containing li.
> This is one of the lists I'm using:
> <ol>
> <li class="elem">
> <label for="dname">Display Name:</label>
> <input type="text" id="dname" class="tinput" />
> </li>
> <li class="desc">
> <p>Information about preview box etc. If it is more than two lines or ## 
> characters
> link to.</p> <span><a href="">learn more</a></span> </li> </ol>
> Hope it makes more sense now!


Can't see why you'd put form elements in a list anyway. Perhaps you
could post an example, with tables if necessary, to show us what you intend?


List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm

Reply via email to