HTML Form Control Line Break
Is there a way to force a line break in a form control in HTML. I'm using drop-down menus, and some of the choices are taking up a little too much space. I'd like to break them into multiple lines if possible. Any ideas?
Edit: Heres the code for the problematic menu:
<select name="Select1" multiple="multiple">
<option selected="selected">(Any)</option>
<option>Acadia National Park</option>
<option>Alaska Railroad</option>
<option>Arapho-Roosevelt<br/>National Forest</option>
<option>BLM</option>
<option>Cades Cove Heritage Tours</option>
<option>Cape Cod Commission</option>
<option>Cape Cod National Seashore</option>
<option>Cape Cod Regional Transit Authority</option>
<option>City of Baltimore DOT</option>
<option>City of Commerce City</option>
<option>City of Flagstaff</option>
<option>City of Jacksonville</option>
<option>City of Lowell, MA</option>
<option>City of New Bedford, Office of Planning</option>
<option>City of Augustine, FL</option>
<option>City of The Dalles</option>
<option>City of Visalia</option>
<option>Codevisa Transit with Municipality of San Juan
</option>
<option>Colonial National Historical Park</option>
开发者_JAVA技巧 <option>Cuyahoga Valley National Park</option>
<option>Cuyahoga Valley Scenic Railroad</option>
<option>Delaware Water Gap National Recreation Area
</option>
<option>Denali National Park and Preserve</option>
</select>
Try changing the width of the drop-down menu. Can you post the code you currently have?
精彩评论