fluid textareas?

liunx

Guest
on my site i have the following code: <textarea rows="5" cols="23"><a href=http://www.webdeveloper.com/forum/archive/index.php/"http://skinneralamod.com"><img src="Images/skinner.JPG" /></a></textarea>
of course, when i resize the screen, it remains at its same width. is there a way to work around that?Don't use Internet Explorer.

Mozilla, Netscape 6+, Safari, IE5-Mac and Opera will increase the width and height of a text area upon resizing the text. You might try specifying a width for the text area using ems as a unit of measure. If that doesn't work, refer to the first line in my post :pOriginally posted by toicontien
Don't use Internet Explorer.

Mozilla, Netscape 6+, Safari, IE5-Mac and Opera will increase the width and height of a text area upon resizing the text. You might try specifying a width for the text area using ems as a unit of measure. If that doesn't work, refer to the first line in my post :p i'm not worried about increasing, it's the decreasing that i'm concerned about.

and don't worry, i don't even touch IE. i use opera 7.23.It's actually not too hard. Set the rows and cols attributes to get the rough size you want, then just override it with CSS. :D

<style type="text/css"><!--
textarea {
width: 50%;
}
--></style>
... ... ...
<textarea name="foo" rows="10" cols="50"></textarea>BRILLIANT!“I've also got this little black book! You put women’s phone numbers in it!”
“A little black book?! BRILLIANT!!”

Anyhoo. :D That's what I always do to get my textareas to play nice. ;)Guinness commercial #1

Guy 1: What's that you have?
Guy 2: A bottle.
Guy 1: A bottle?... Brilliant! What do you do with it?
Guy 2: Well I have found a way fill it with authentic Guinness Draught.
Guy 1: Can you drink it straight from a bottle no matter where you are?
Guy 2: Yes.
Guy 1: Drink beer straight from a bottle?... Brilliant!

Guinness commercial #2

Guy 1: What are you holding now?
Guy 2: A six pack
Guy 1: A six pack?... Brilliant! What's it do?
Guy 2: Well, I figured out how to carry 6 beers at the same time.
Guy 1: Carry six beers at the same time?... Brilliant! Let's drink them.
Guy 2: Ya know, I've been thinking. It might not be the smartest idea to drink 6 beers at the same time.
Guy 1: Don't drink six beers at the same time?... Brilliant!
Guy 2: Brilliant!

You will not post any copyrighted material, nor link to any copyrighted material (with the exception of publicly available sites and pages that the legal owners of the copyrights have created to make that material freely available to the general public), unless that copyright is owned by you or by these Forums.

sorry - i had do post that. NOTE - i don't actually care.


alright. this topic is done being off-topic, and hence through. thanks paul ;)
 
Back
Top