This topic is locked

Increase rows in drop drow controls

12/25/2005 9:03:24 AM
ASPRunnerPro General questions
R
Robert author

How could I nncrease rows in drop drow controls for the same record?

Each record has a large amount of text and what happens now is that the control grows way over to the right, fgorcing you to scroll and therefor not seing any more the initial part.

Any help will be apreciated.

Thanks,

Robert

Sergey Kornilov admin 12/26/2005

Robert,
the width of drop-down box is calculated by web browser automatically. I'm not sure you can do anything about this.

R
Robert author 12/26/2005

Does the same apply to the height? I mean, if I could force a height and have the text distribuited within several lines, that would suit me. I would set the height in a manner that the width would stay within the screen...
Robert

Sergey Kornilov admin 12/27/2005

Just found how you can increase dropdown box width using CSS:

<select style="width:400">

<option>test

</select>


You need to modify generated ASP code to achieve this.