If you have a datalist that displays 3 items vertically, and you only have 1 item to display it will display the one (with a border) that is 130px wide. The other 2 are displayed as about 3 pixels with the border around them. Is there a way to expand the items on the screen that is empty with the borders?
Thanks,
Tom
Code:
<asp:DataList ID="DataList1" runat="server"
RepeatDirection="Vertical" RepeatColumns="3" BorderColor="#C0C0C0" BorderWidth="1"
BorderStyle="Solid" GridLines="Vertical" CellPadding="3" ItemStyle-BorderColor="Red">
<ItemTemplate>
<table style="width: 130px; text-align:center">
<tr>
...
Thanks,
Tom