Solved

Scrolling Text Box

Posted on 2002-03-12
4
154 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
ID: 6858472
do you mean a SELECT?
0
 
LVL 32

Accepted Solution

by:
Batalf earned 100 total points
ID: 6858516
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
ID: 6858526
<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
ID: 6859506
thanks the first one for IE is what i wanted :-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ajax control editor 4 61
SVG Logo 4 33
SCRIPT65535: Unexpected call to method or property access video html 5 explorer 3 43
How to avoid jquery conflicts in Wordpress ? 4 24
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

911 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

26 Experts available now in Live!

Get 1:1 Help Now