註冊時間: 2005-07-26, 11:55 文章: 1
|
請問一個用firefox瀏覽page的問題
我將firefox的window width縮小到比內容的components還小時
如果這時將水平scrollbar往右拉,則原本縮小後沒出現的部份
背景就完全變成白色了,也就是背景只能顯示到瀏覽器size之內的
不知是否能幫我解答一下 謝謝!
下面是一個sample code
<html>
<head>
<style type="text/css">
<!--
.b {
background: #0000FF;
font-size: 12px;
color: #FFFFFF;
height: 20px;
padding-left: 10px;
padding-right: 0px;
padding-top: 4px;
margin-bottom: 1px;
margin-top: 0px;
white-space: nowrap;
border: 1px solid #669999;
}
.m {
background: #CCCCCC;
padding-top: 5px;
padding-left: 10px;
padding-right: 0px;
padding-bottom: 10px;
margin-bottom: 0px;
}
-->
</style>
<body>
<div class="b">
TESTTEST
</div>
<div class="m" >
<table>
<tr>
<td>
<table>
<tr>
<td>First Name:</td>
<td><input type="text" name="first"></td>
</tr>
<tr>
<td>Middle Name:</td>
<td><input type="text" name="middle"></td>
</tr>
</table>
</td>
<td>
<table>
<tr>
<td>Last Name:</td>
<td><input type="text" name="last"></td>
</tr>
<tr>
<td>Nickname:</td>
<td><input type="text" name="nickname"></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
|
|