Posted on: 12/27/2013 7:30:38 AM | Views : 615

I am trying to use two <div> inside a main <div>. But the problem is, in the first <div> I am using a <image> control and along with it I am fetching some text data from the database. And in second <div> I am using a <gridview>. But I am unable to show these two <div> in same line horizontally. I have tried doing this-
<div style="width:1000px;overflow:hidden; height:auto; float:left; text-align:justify; margin-bottom:15px;"> <div id="right part" runat="server" style="width:auto; float:left; margin:0 12px 12px 0;"> <asp:Image ID="Image1" runat="server" Height="122px" Width="148px" /><% =details %></div> <div id="left part" runat="server" style="float:left;width:auto;display:inline-block;"> <asp:GridView ID="GridView1" runat="se ...

Go to the complete details ...