Try this code and you will see it as well
<table width="200" border="1">
<tr>
<td><form runat="server">
<asp:ListBox ID="ListBox1" runat="server" Height="210"></asp:ListBox>
</form></td>
</tr>
</table
Change the height to 150 and the space vanishes....any knows why???A list box will default to the closest number of pixels that will display a full character...most likely at 150px you can see x number of rows. I bet if you increase it to 151 or 152, etc... that it will either not increase the height...or will increase it like 10px so that it can show a full character.
MajorCats
0 comments:
Post a Comment