Help me to align dynamic added tables in Panel to be Horizontal Order
//CSS
.float-left
{
float: left;
}
//html
<tr>
<td style="width: 10%;">
<div id="Ord1">
<asp:Panel ID="pnlOrd1" runat="server">
</asp:Panel>
</div>
</td
//Code-Behind
DataRow[] drOpns = dsReport.Tables[0].Select("ORD_NO ='" + dr[0].ToString() + "'");
if (drOpns.Length > 0)
{
foreach (DataRow rowOpns in drOpns)
{
HtmlTable table = new HtmlTable();
table.Attributes.Add("class", "float-left");
// Start adding content to the table.
...
Go to the complete details ...