800x600與1024x768顯示的內容不同?【求助】



贊助商連結


hansarp
2003-05-07, 03:00 AM
小弟寫了一個網頁
但是在不同解析度下內容就有些不同
不知道該怎麼解決(想了好幾天了!!!)
所以想請教各位要如何改它的設定
讓它在不同解析度下內容不會跑掉
謝謝

1024x768:
http://hometown.aol.ca/abhooze/1.jpg
800x600:
http://hometown.aol.ca/abhooze/2.jpg
原始碼

<body STYLE="background-color:#F6F4F0;background-image: url(back.gif);background-repeat:no-repeat;background-attachment:fixed;background-position:center center;">
<div align="center"><center>
<img src="signup.gif" width="100" height="30">
<br>
<br>
<table border="0" width="270" height="250" cellpadding="0" cellspacing="3">
<tr>
<td width="300" height="0"><p align="center">
<form method="POST" action="../cgi-bin/mchat/chatreg.pl">
<input type="hidden" name="chatid" value="request"><table border="0" width="100%">
<tr>
<td width="33%"><p align="center">使用名稱(1--8 位數字或字母)</td>
</tr>
<tr>
<td width="67%"><p align="center"><input type="text" name="username" size="20" maxlength="8"></td>
</tr>
<tr>
<td width="33%"><p align="center">註冊密碼(1--8 位數字或字母)</td>
</tr>
<tr>
<td width="67%"" height="5"><p align="center"><input type="password" name="password" size="20" maxlength="5"></td>
</tr>
<tr>
<td width="33%"><p align="center">重覆密碼(1--8 位數字或字母)</td>
</tr>
<tr>
<td width="67%"" height="5"><p align="center"><input type="password" name="password1" size="20" maxlength="8"></td>
</tr>
<tr>
<td width="33%"><p align="center">你的Email</td>
</tr>
<td width="67%"" height="5"><p align="center"><input type="text" name="email" size="20" maxlength="30"></td>
</tr>
<tr>
<td width="33%"><p align="center">你的性別</td>
</tr>
<tr>
<td width="300"><p align="center">先生<input type="radio" value="先生" name="usertype"> 小姐<input
type="radio" value="小姐" name="usertype"></td>
</tr>
</table>
<p align="center"><input type="image" value="提交" name="B1" src="2.gif" width="80" height="45" style="font-size: 7pt">
<input type="image" value="復原" name="B2" src="3.gif" width="80" height="45" style="font-size: 7pt"></p>
</form>
</td>
</tr>
</table>
</center></div></body>

贊助商連結


hansarp
2003-05-07, 03:03 AM
其實小弟想做的就是
將所有內容放進框框裡
而那個框框是圖片
將它固定在背景

謝謝

怪盜基德
2003-05-07, 11:15 AM
把那個框框設為表格的背景圖,把內容全部放在表格裡。
長寬大小使用數字,不要用百分比