我在 iphone 中遇到了一个与我在 asp.net 3.5 中开发的移动网站相关的问题
参考购物车区域的截图:
在桌面浏览器中查看相同的网格时,它显示滚动,但在 iPhone 中没有,其余区域消失。
网格视图代码:
<div class="tabularDataContainer">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="tabularData">
<tr class="tableH">
<td width="39%" align="left" valign="top" class="tableH tableHL"><p>Workshop Name</p></td>
<td align="left" valign="top" width="1%"class="tableHD"> </td>
<td width="19%" align="left" valign="top" class="tableH"><p>Date</p></td>
<td align="left" valign="top" width="1%"class="tableHD"> </td>
<td width="19%" align="left" valign="top" class="tableH"><p>Attendee Name </p> </td>
<td align="left" valign="top" width="1%"class="tableHD"> </td>
<td width="10%" align="left" valign="top" class="tableH"><p>City</p></td>
<td align="left" valign="top" width="1%"class="tableHD"> </td>
<td width="10%" align="center" valign="top" class="tableH tableHR"><p>Amount</p></td>
</tr>
</table>
<asp:GridView ID="grdCart" runat="server" AutoGenerateColumns="false" EmptyDataText="<br /> The Cart is Empty" ShowHeader="false" ShowFooter="false" GridLines="None" Width="100%" OnSelectedIndexChanging ="GrdCartRowCommand" OnRowDataBound="grdCartDatabound" DataKeyNames="wName,Date, sdat, endt, wDates, AttendeeName" >
<Columns >
<asp:TemplateField>
<ItemTemplate >
<div style="width:100%; height:60px;">
<div style="position:relative; width:100%;">
<div style="position:absolute; top:0px; width:100%;" id="Container" runat="server" >
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="tabularDataRounded" >
<tr class="cartD">
<td width="39%" align="left" valign="top">
<table width="100%">
<tr>
<td align="left" valign="middle" width="5%" style="border-bottom:none;" class="cartcross"><p><asp:LinkButton id="lb_DeleteItem" runat="server" CommandName="Select" ><img src="images/delete.png" alt="Delete" class="del" width="100%" height="100%"></asp:LinkButton ></p></td>
<td align="left" valign="middle" width="95%" style="border-bottom:none;"><p><asp:DropdownList ID="ddl_wshops" runat="server" DataTextField="wName" cssclass="cartddl" style="display:block;" OnSelectedIndexChanged="ddl_AddNewWorkShop_SelectedIndexChanged" AutoPostBack="true" >
</asp:DropdownList></p></td>
</tr>
</table> </td>
<td align="left" valign="middle" width="1%" ></td>
<td width="19%" align="left" valign="middle" ><p><asp:DropdownList ID="ddl_wdat" runat="server" cssclass="cartddldat" AutoPostBack="true" OnSelectedIndexChanged="ChangeDateInItem" >
</asp:DropdownList></p></td>
<td align="left" valign="middle" width="1%"> </td>
<td width="19%" align="left" valign="middle" ><p><asp:DropdownList ID="listbox_wAttendee" runat="server" cssclass="cartddldat" AutoPostBack="true" OnSelectedIndexChanged="ddlChangeAttendeeInItem" >
</asp:DropdownList> </p></td>
<td align="left" valign="middle" width="1%"> </td>
<td width="10%" align="left" valign="middle" ><p><%#Eval("City")%></p></td>
<td align="left" valign="middle" width="1%"> </td>
<td width="10%" align="right" valign="middle" style="padding-right:15px"><p>$<%#Eval("Amount")%></p></td>
</tr>
</table>
<div>
任何人指导我如何解决这个问题?
提前致谢。