Solved

Scrolling Text Box

Posted on 2002-03-12
4
140 Views
Last Modified: 2010-04-09
How do i make a scrolling text box a fixed width so that is dosn't resize itself depending on what the data is?
0
Comment
Question by:Joana
4 Comments
 
LVL 33

Expert Comment

by:knightEknight
Comment Utility
do you mean a SELECT?
0
 
LVL 32

Accepted Solution

by:
Batalf earned 100 total points
Comment Utility
If it's a select-box, you could use CSS, but that's IE-only.

<select multiple size="6" style="width:200px;">
<option value="1>Value 1</option>
</select>

If you need a solution for both IE and NN, you have to fill the select-box with spaces

<option value="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
<textarea rows="5" cols="40"></textarea>

Is that what you are looking for?  If not, could you give us a little more description of what you want?

Cd&
0
 

Author Comment

by:Joana
Comment Utility
thanks the first one for IE is what i wanted :-)
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now