Previous Message
Next Message

Resizing input

Sent by James Childers on 22 March 2006 14:02


I may be wrong but I expect that will require some JavaScript:

urlBox = document.getElementById("lurl");
if (urlBox.value.length > 100) {
	urlBox.style.font-size = ".5em";
	// Or something like that. This is off
	// the top of my head.
}

-= J


On Mar 21, 2006, at 10:33 PM, Kai Hendry wrote:

> http://surink.com/?uri=http%3A%2F%2Fsurink.com%2Fc0w
>
> I would like the bottom input to show the entire (long) URL. So the
> desired effect would be, if it is really long, the font size would be
> smaller (the URL will look shrunk). I don't want the user to scroll
> horizontally.
>
> Firefox 1.5 users are my audience.
>
> Best wishes,
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: