寫的JQuery頁面顯示的內容沒有邊距,內容緊挨著瀏覽器邊線,特別難看(如下圖)
復制代碼 代碼如下:
<body>
<form runat="server">
<div data-role="page">
<div data-role="header" data-theme="b">
<h2>新聞內容</h2>
</div>
<div>
<div>
<asp:Image runat="server" AlternateText="新聞圖片" />
</div>
<div>
<asp:Label runat="server" Text="Label"></asp:Label>
</div>
</div>
<div data-role="footer" data-theme="d">
<h4>餐飲咨詢</h4>
</div>
</div>
</form>
</body>
復制代碼 代碼如下:
<body>
<form runat="server">
<div data-role="page">
<div data-role="header" data-theme="b">
<h2>新聞內容</h2>
</div>
<div>
<div>
<asp:Image runat="server" AlternateText="新聞圖片" />
</div>
<div>
<asp:Label runat="server" Text="Label"></asp:Label>
</div>
</div>
<div data-role="footer" data-theme="d">
<h4>餐飲咨詢</h4>
</div>
</div>
</form>
</body>
新聞熱點
疑難解答
圖片精選