Re: [css-d] Floats for Form Labels -- vertical alignment

2006-11-23 Thread Stephan Wehner
Thanks a lot -- I followed your suggestion and added line-height: 3ex; to the label rule and that looks good. Adding line-height: 3em; to the input rule made no difference. (This is Safari 2.0.4, and Firefox 2.0, and now also IE 6) But I don't understand why this is necessary. Without the

Re: [css-d] Floats for Form Labels -- vertical alignment

2006-11-23 Thread Rafael Holt
On 24/11/06, Stephan Wehner <[EMAIL PROTECTED]> wrote: > > I'm looking at the example for floating form labels at > > http://www.webcredible.co.uk/user-friendly-resources/css/css-forms.shtml > > and I find the labels get shifted up by a tiny amount. > > In the "The original form" section the "Na

[css-d] Floats for Form Labels -- vertical alignment

2006-11-23 Thread Stephan Wehner
I'm looking at the example for floating form labels at http://www.webcredible.co.uk/user-friendly-resources/css/css-forms.shtml and I find the labels get shifted up by a tiny amount. In the "The original form" section the "Name" label is vertically centered with the respect to the input box.