Controlling Resizable Text Fields in Safari

Wednesday, June 20, 2007 at 5:02 pm | Comments off

As many of you likely know, Safari 3 supports resizing text fields. This is great and a welcome improvement to anyone who has suffered with a text field that just isn't big enough. One tip though: you can use max-width, min-width, max-height and min-height to control the maximum / minimum dimensions that Safari will resize the text field to. Useful if resizing a text field too large is breaking your layout.

By the way, Cameron Adams wrote a bookmarklet a while ago that you can use to add this functionality to other browsers.

Comments

Arjan Eising
June 21st, 2007
8:52 AM | #

There are some cases that browser 'problems' are not your problem. One of them, is this: if a nut resizes the textfield, it's his problem!
Nonetheless, this might be useful when an even so stupid client (who browses with Safari) comes up with this 'problem'.

Comments are automatically closed after 45 days