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
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
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.