Raja
09-12-2002, 05:10 PM
Hi all,
I am trying to display combo boxes populated from an MS Access database
in a table .The problem is each combox in a different cell is getting displayed
with a different size which seems to be the size of the value of that field.
Can anyone tell me how to align these comboboxes in different cells to be
of the same size irrespective of the size of the value of that element .
What I mean is if the element's value is "Test" I am getting a combobox which
just fits test . If it is "Testing Application" I am getting a propotionate
combobox .I want all the comboboxes to be of equal size
Also I have set the size of this variable to Maximum in Access
Here is the ASP Code
<table border="1" width="50%" bordercolor="#CC9966">
<tr>
<td width="50%"><font color="#000080" size="4">
<select name=cboSecondary >
<option value="<%=objRS.Fields("itemid")%>"><%=objRS.Fields("name")%>
</select>
</td>
</tr>
</table>
I am trying to display combo boxes populated from an MS Access database
in a table .The problem is each combox in a different cell is getting displayed
with a different size which seems to be the size of the value of that field.
Can anyone tell me how to align these comboboxes in different cells to be
of the same size irrespective of the size of the value of that element .
What I mean is if the element's value is "Test" I am getting a combobox which
just fits test . If it is "Testing Application" I am getting a propotionate
combobox .I want all the comboboxes to be of equal size
Also I have set the size of this variable to Maximum in Access
Here is the ASP Code
<table border="1" width="50%" bordercolor="#CC9966">
<tr>
<td width="50%"><font color="#000080" size="4">
<select name=cboSecondary >
<option value="<%=objRS.Fields("itemid")%>"><%=objRS.Fields("name")%>
</select>
</td>
</tr>
</table>