急,大家帮忙看一下我的代码,怎么能让这个框架的页面在任何显示器显示都一样呢?

问题描述

我现在这设计在我电脑上,当最大化,显示全屏没问题,但换显示器小的显示全屏就出现宽过长,而高过短,底下有空白,谢谢<bodystyle="margin:0px0px0px0px;"><tablewidth="992"align="center"style="border-collapse:collapse;border:none;width:100%;height:100%"><tr><tdid="HeadImage"colspan="2"height="60"style="border:solid1pxblue;background-image:url(Image/HeadImage.jpg);background-repeat:repeat-x"></td></tr><tr><tdstyle="height:647px;width:69px;border:solid2pxgray;border-right:solid2pxgray"><iframename="LeftTreeWindow"src="LeftTree.aspx"scrolling="no"width="160"height="558"frameborder="0"id="IFRAME1"style="height:647px;width:160px;"></iframe></td><tdstyle="height:647px;width:848px;border:solid2pxgray;border-right:solid2pxgray"><iframename="MainWindow"src="DefaultMainWindow.aspx"scrolling="auto"width="832"height="558"frameborder="0"style="height:646px;width:1209px;"id="IFRAME2"></iframe></td></tr></table></body></html>

解决方案

解决方案二:
table的width设置为100%列的按需设置高度可设置一部分,其它不要设置的<table[color=#0000FF]width="992"align="center"style="border-collapse:collapse;border:none;width:100%;height:100%">[/color]<iframename="MainWindow"src="DefaultMainWindow.aspx"scrolling="auto"width="832"height="558"frameborder="0"style="height:646px;width:1209px;"id="IFRAME2">都看看里面设置有点乱

时间: 2024-09-04 03:14:58

急,大家帮忙看一下我的代码,怎么能让这个框架的页面在任何显示器显示都一样呢?的相关文章

java代码-急求java高手,帮忙看下面的游戏代码,为何只能运行界面类然后其他都看不见也不能玩

问题描述 急求java高手,帮忙看下面的游戏代码,为何只能运行界面类然后其他都看不见也不能玩 //子弹Bullet类 package hy; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; public class Bullet { //坐标 public int x,y; //子弹大小 public int width,height; //子弹杀伤力 public int kill; //速度

java-Java快速排序,帮忙看一下下面的代码有没有错!

问题描述 Java快速排序,帮忙看一下下面的代码有没有错! 快速排序,下面的代码亲测,能够运行,结果也正确,但是我感觉怪怪的!想问一下红色框里的代码是不是有问题,希望解释一下 解决方案 没问题呀,这是快速排序的一种版本,是标准程序.你也可以把array[low] = array[high]改成类似swap(array[low]array[high])这样的语句,更符合快速排序的交换思想(把小于index的交换到前面,把大于index的交换到后面).不过你会发现,如果这么修改,在(修改后的)第一个

帮忙看下这段代码,为啥那个afafafa没有打印出来?

问题描述 帮忙看下这段代码,为啥那个afafafa没有打印出来? public class Demoe { public void f() { System.out.println("Throwing MyException from f()"); } public static void main(String[] args) { Demoe aa = null; try { aa.f(); throw new NullPointerException("afafafa&q

语言-新手求帮忙看下这段代码的数据溢出问题,没有C币理解下(我是在CodeBlock10.05下运行的)

问题描述 新手求帮忙看下这段代码的数据溢出问题,没有C币理解下(我是在CodeBlock10.05下运行的) #include #include #include unsigned int Ex_secret[30]={11,4,120,75,170,204,90,59,78,49,//用0~255的数表示8位2进制,一共240位 148,248,190,137,0,9,17,91,174,105,45,124,177,205,57,97,194,155,120,36}; unsigned in

对象-求帮忙看一段java代码,很短的

问题描述 求帮忙看一段java代码,很短的 import java.util.*; public class Student implements Comparable { int score=0; String name; Student(int score,String name){ this.name=name; this.score=score; } public int compareTo(Object b){ Student st=(Student)b; return(this.sc

fpga-vhdl错误,急求帮忙看一下

问题描述 vhdl错误,急求帮忙看一下 错误是:syntax error:near text"end process ",expecting"if"自己没找到T.T 我就把结构体里面的贴出来,求帮忙 architecture behav of dianti is signal d11,d22,d33,d44,d55,d66: std_logic; signal c_u11,c_u22,c_u33,c_u44,c_u55: std_logic; signal c_d2

在指定的时间段清除定时器,大家帮忙看一下这段代码有什么问题?

问题描述 在指定的时间段清除定时器,大家帮忙看一下这段代码有什么问题? <script type='text/javascript'> var date_time = new Date(); var current_time = date_time.getHours() + ":" + date_time.getMinutes() + ":" + date_time.getSeconds(); if (current_time >= '7:20:0

帮忙看一下这段代码,WINCE下开发

问题描述 写了如下一小段程序,在wince下开发,用模拟器,运行的时候,提示SQLiteerror:nosuchtabletb_isbncj....望各位高手帮忙看一下usingSystem;usingSystem.Linq;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Form

ashx出现错误,帮忙看下这段代码并发的时候有没有问题

问题描述 try{answer=int.Parse(context.Request.Params["answer"].ToString());}catch{answer=0;}try{if(HttpContext.Current.Request.ServerVariables["HTTP_VIA"]!=null){ip=HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR&quo