PDA

View Full Version : Increase lenght of select box in form?


Crazydog
08-21-2006, 07:54 PM
How do I increase the length of my select dropdown without adding extra spaces to the end of the selections?

Because right now its looking like this:
http://img58.imageshack.us/img58/7716/smallcz3.png

Kravvitz
08-21-2006, 08:20 PM
Try not setting a width.

Crazydog
08-21-2006, 10:04 PM
i dont have a width set

rmedek
08-21-2006, 10:47 PM
maybe

select, option {
width: auto;
}


but we'll never know any more unless you post some code or a link.

Crazydog
08-22-2006, 12:23 AM
the code...
<select name="hashnumber">
<option></option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
</select>
no formatting on it...

rmedek
08-22-2006, 12:59 AM
No, I mean the entire code. There might be rules affecting the select box.