我的桌子的高度調整100%我有一個表,邊框寬度爲1如何在所有屏幕分辨率
我如何可以調整所有的屏幕分辨率的高度爲100%? 或者使用jQuery,我該如何動態改變桌面高度?
我在Web應用程序中新的
請幫助?...
拉傑什
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
</head>
<script src="./Scripts/jquery-1.4.1.js" type="text/javascript">
jQuery(document).ready(function() {
jQuery('#SprImg').attr("height", jQuery(window).height());
});
</script>
<body>
<table id="Table1" cellpadding="0" cellspacing="0" runat ="server" width="100%" border="0" align="left">
<tr>
<td id="LeftPane" align="left" valign="top" width="175" runat="server" ></td>
<td id="RightPane" align="left" width="*.*" runat="server" valign="top">
<img id="SprImg" src="./Image/login.gif" alt="" />
</td>
</tr>
</table>
你可以顯示你正在使用和描述的代碼(也許甚至用嘲弄的屏幕截圖)你試圖實現什麼?這個問題並不清楚。 – David
有什麼想法?...... –