3 replies [Last post]
jrmontg
Offline
Regular
Last seen: 16 years 44 weeks ago
Joined: 2004-09-23
Posts: 16
Points: 0

I am trying to figure out a way to have a textbox that cannot scroll vertical or horizontal. Is this possible.

Thanks

kojiro
Offline
Regular
Last seen: 16 years 50 weeks ago
Joined: 2004-08-11
Posts: 28
Points: 0

Re: A text box with no scroll

jrmontg wrote:
I am trying to figure out a way to have a textbox that cannot scroll vertical or horizontal. Is this possible.

Thanks


I'm sure it's possible. Did you try the style overflow: hidden; for example?

All the good sigs were taken.

jrmontg
Offline
Regular
Last seen: 16 years 44 weeks ago
Joined: 2004-09-23
Posts: 16
Points: 0

A text box with no scroll

textarea {
width: 300px;
height: 100px;
background-color: white;
font-size: 1em;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
border: 1px solid black;
overflow: hidden;
}

I internet explorer it seems like it is working but not in firefox. any ideas?

jrmontg
Offline
Regular
Last seen: 16 years 44 weeks ago
Joined: 2004-09-23
Posts: 16
Points: 0

A text box with no scroll

Well internet explorer is not acting they way I need it to either.

Maybe I need to add something else.

The size of the box is width: 300px;
height: 100px;

I dont want the user to go below that. Maybe restrict it to x number of lines.