J
jason
I have this thumbnail page written in asp.net that's using datalist
with a RepeatLayout="Table" to build a table of thumnails .. the code
works, except the images display downward first then back up to to the
top. Instead I'd like the for the images to display from left to right
and then down again (like the we are all use to when reading something
in English). Here's the code - the databind came from a datatable
that was sorted by file name. Any suggestions?
<ASP
ataList id="repeater1" runat="server" RepeatLayout="Table"
Repeatcolumns="6">
<ItemTemplate>
<a href="<%# Container.DataItem(0) %>" target="_New">
<asp:Image
runat="server"
ImageUrl="<%# Container.DataItem(1) %>"
BorderStyle="OutSet"
BorderWidth="2"
Width=120 Height=100
/>
</a>
</ItemTemplate>
</ASP
ataList><p />
with a RepeatLayout="Table" to build a table of thumnails .. the code
works, except the images display downward first then back up to to the
top. Instead I'd like the for the images to display from left to right
and then down again (like the we are all use to when reading something
in English). Here's the code - the databind came from a datatable
that was sorted by file name. Any suggestions?
<ASP
Repeatcolumns="6">
<ItemTemplate>
<a href="<%# Container.DataItem(0) %>" target="_New">
<asp:Image
runat="server"
ImageUrl="<%# Container.DataItem(1) %>"
BorderStyle="OutSet"
BorderWidth="2"
Width=120 Height=100
/>
</a>
</ItemTemplate>
</ASP