I ended up using:
form input { font-size: .9em; }

It resizes in Safari2 and IE6, haven't checked others yet.

'height=[value]' worked too, though it only sized the actual input  
box, but left the text inside untouched/to large. I had to separately  
give the submit-button it's own values in em's as well.

The reason why I wanted it this way is because I've got a horizontal  
nav-list, where one of the elements is a search box. This needed some  
initial re-sizing to mach the height of the rest of the nav-list.  
Offcourse I need to feed some different paddings and sizes to the  
IE's as well, which is the trial and error I'm doing right now.

-eystein

On Nov 22, 2005, at 4:00 PM, David Dorward wrote:

> On 22/11/05, Eystein Mack Alnæs <[EMAIL PROTECTED]> 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.
>
> Tried: height: 1.3em?
>
> --
> David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
> ______________________________________________________________________
> 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/

______________________________________________________________________
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