Eystein,

on Tuesday, November 22, 2005 at 15:37 Eystein Mack Alnæs wrote:

> Is it possible to adjust the height of a form - input element  
> according to the font-size? So if the user increases the font-size  
> the input element will also increase.

Size the input in em:

input {
      width: 15em;
      height: 1.5em;
}

This won't work for select in all browsers. In Firefox 1.0 one have to
refresh the page to adjust the height after a font-size change.

regards

  Martin

 



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to