我剛剛完成設計的接口的移動應用程序的大小我用所有的屏幕是 750瓦特由1334H 的問題是其顯示到大的應用程序的測試屏幕上HTML自動調整到
我需要自動適合所有屏幕上的設計又不失這裏的任何分辨率 是CSS代碼
.username {
background: #397ba5;
border: none;
width: 286;
height: 82;
color: white;
font-size: 24;
}
.password {
background: #397ba5;
border: none;
width: 283;
height: 81;
color: white;
font-size: 24;
}
.memberlogin {
background-color: #fc4988;
border: none;
width: 472;
height: 85;
color: white;
font-size: 40;
font: BOLD;
}
<html>
<head>
<title>Untitled-1</title>
<link rel="stylesheet" href="http://infinityfreight.net/style.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (Untitled-1.psd) -->
<table id="Table_01" width="640" height="1136" border="0" cellpadding="0" cellspacing="0">
\t <tr>
\t \t <td colspan="7">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_01.gif" width="750" height="508" alt=""></td>
\t </tr>
\t <tr>
\t \t <td colspan="3" rowspan="4">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_02.gif" width="324" height="264" alt=""></td>
\t \t <td colspan="3">
\t \t \t <input type=text class="username"></td>
\t \t <td rowspan="8">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_04.gif" width="140" height="826" alt=""></td>
\t </tr>
\t <tr>
\t \t <td colspan="3">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_05.gif" width="286" height="49" alt=""></td>
\t </tr>
\t <tr>
\t \t <td colspan="2">
\t \t \t <input type=password class="password"></td>
\t \t <td rowspan="2">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_07.gif" width="3" height="133" alt=""></td>
\t </tr>
\t <tr>
\t \t <td colspan="2">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_08.gif" width="283" height="52" alt=""></td>
\t </tr>
\t <tr>
\t \t <td colspan="2" rowspan="2">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_09.gif" width="138" height="124" alt=""></td>
\t \t <td colspan="4">
\t \t \t <input type="submit" value="SIGN IN NOW" class="memberlogin"></td>
\t </tr>
\t <tr>
\t \t <td colspan="4">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_11.gif" width="472" height="39" alt=""></td>
\t </tr>
\t <tr>
\t \t <td rowspan="2">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_12.gif" width="130" height="438" alt=""></td>
\t \t <td colspan="3">
\t \t \t <a href="/">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_13.gif" width="318" height="29" alt=""></a></td>
\t \t <td colspan="2" rowspan="2">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_14.gif" width="162" height="438" alt=""></td>
\t </tr>
\t <tr>
\t \t <td colspan="3">
\t \t \t <img src="http://infinityfreight.net/images/Untitled-1_15.gif" width="318" height="409" alt=""></td>
\t </tr>
\t <tr>
\t \t <td>
\t \t \t <img src="http://infinityfreight.net/images/spacer.gif" width="130" height="1" alt=""></td>
\t \t <td>
\t \t \t <img src="http://infinityfreight.net/images/spacer.gif" width="8" height="1" alt=""></td>
\t \t <td>
\t \t \t <img src="http://infinityfreight.net/images/spacer.gif" width="186" height="1" alt=""></td>
\t \t <td>
\t \t \t <img src="http://infinityfreight.net/images/spacer.gif" width="124" height="1" alt=""></td>
\t \t <td>
\t \t \t <img src="http://infinityfreight.net/images/spacer.gif" width="159" height="1" alt=""></td>
\t \t <td>
\t \t \t <img src="http://infinityfreight.net/images/spacer.gif" width="3" height="1" alt=""></td>
\t \t <td>
\t \t \t <img src="images/spacer.gif" width="140" height="1" alt=""></td>
\t </tr>
</table>
<!-- End Save for Web Slices -->
</body>
</html>
DId沒有解決問題 – NICK