I'm currently working on a project where I need to showcase YouTube links on a webpage, accompanied by brief descriptions. To achieve this, I am utilizing a repeater. Below is the item template I have implemented:
<Item Template>
<asp:Panel ID="Panel3" runat="server" Style="margin-left:10px; margin-bottom:0px" width="800px" Font-Size="small">
<table style="width:790px">
<div runat="server" style="float:left; overflow:hidden; display:block">
<tr>
<td>
<iframe width="370" height="210" src="<%#Eval("VideoLink") %>
</td>
</tr>
<td><%#Eval("VideoDesc") %></td>
</tr>
</div>
</table>
</asp:Panel>
</ItemTemplate>
Even though the display is functioning properly, the content is appearing vertically. I am aiming for a horizontal alignment until the table width is filled, and then move on to the next line. I initially tried using the div tag for this purpose, but unfortunately it did not yield the desired result.
Moreover, it would be great to have a horizontal line separating the video rows, but if this requires extensive effort, I am open to skipping this feature.