日期:2014-05-16  浏览次数:20687 次

我的页面上下2部分在不同分辨率的机器里高度不同
我的页面上下2部分在不同分辨率的机器里高度不同,怎么设置比例让上面的表格能任何时候都全部显示?

现在在有的机器里第4行显示不出来,因为表格的高度在小分辨率的机器里就缩小了。

还有分辨率改了后,表格里的文字也不齐了,有的标签在文本框上面,有的在左边,请问怎么调整?

html代码如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
    
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>aaa</title>

</head>

<body class="bodyWithBorder">
<form name="templateAdd">
<div class="topToolBar">
<div class="toolGroup" style="float: left;">
<table width="100%" border="1">
  <tr>
    <td><label for="security_organization_id"
style="padding-right: 3px; margin-left: 10px; font-size: 12px;">流水号</label>
      <input name="text" type="text" class="table_top_text" id="BOSS_ID" value=""/></td>
    <td><label for="Problem"
style="padding-right: 3px; margin-left: 10px; font-size: 12px">流水号流水号</label>
      <input name="text10" type="text" class="table_top_text" id="input_Problem" value=""/></td>
    <td><label for="Brand"
style="padding-right: 3px; margin-left: 10px; font-size: 12px">流水</label>
      <input name="text5" type="text" class="table_top_text" id="input_brand" value=""/></td>
    <td><label for="capesname"
style="padding-right: 3px; margin-left: 10px; font-size: 12px;"">流水号流水</label>
      <input name="text8" type="text" class="table_top_text" id="input_ReCount" value=""/></td>
    <td><label for="accept_start" style="padding-right: 3px; margin-left: 10px; font-size: 12px">流水号流水号</label>
      <input name="text152" type="text" class="table_top_text" id="input_AcceptStart" value=""/></td>
    <td rowspan="4"><input name="button" type="button" class="button_middle2" id="searchButton" style="margin-left: 20px;" onclick="checkParam()"