我正在尝试在一个主要的
元素中使用两个
元素。但问题是,在第一个
元素中,我正在使用一个控件,并同时从数据库中获取一些文本数据。而在第二个
元素中,我正在使用一个。但我无法在同一行水平显示这两个
元素。
我已经尝试了以下操作:
请问我做错了什么吗?
我已经尝试了以下操作:
<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="server" ShowHeader="False"
ForeColor="Black" GridLines="None" EnableModelValidation="True"
onpageindexchanging="GridView1_PageIndexChanging" onrowcreated="GridView1_RowCreated">
</asp:GridView>
</div>
</div>
请问我做错了什么吗?