尽量不要用绝对值就可以了,特别是table的宽度
如<table width=80%>
如<table width=80%>
解决方案 »
- sqlserver like '%,3,%' 问题。。
- 上传到数据库的中文名文件在库里名称是乱码
- asp.net最主要的知识点是什么?
- OA系统源代码,快快下载
- 下午参加超级英雄的面试,麻烦各位兄弟帮我想想参加的口号,比较急,希望各位兄弟鼎力帮忙
- MVC中使用File导出xls文件问题
- 在repearter里面有checkbox 我想实现被选中的行颜色发生变化
- ★求救,我得ASP.NET运行环境的问题??????奇怪中....
- 浏览ASP.NET网站,提示错误:拒绝了对对象的EXECUTE 权限
- ASP.net 需精读的书籍
- 我在界面上保存一个数据,想在进数据库前把这个数据读出来。请问怎么实现。
- 为什么PanelBar(OutLookBar形式的那个控件为什么不支持中文呢?我该咋做?
<script runat="server" language="C#">
public void Page_Load(Object Sender, EventArgs E)
{
string userie = Request.ServerVariables["HTTP_UA_PIXELS"];
switch(userie)
{
case "800X600":
Response.Redirect("800.aspx");
break;
case "1024X768":
Response.Redirect("1024.aspx");
break;
default:
Response.Redirect("1024.aspx");
break;
}
}
</script>请高手之教!!谢谢了!
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name=ProgId content=VisualStudio.HTML>
<meta name=Originator content="Microsoft Visual Studio .NET 7.1">
<script language=javascript>
function control()
{
if(window.screen.width==800)
{
window.open("800.aspx","_self");
}
else if(window.screen.width==1024)
{
window.open("1024.htm","_self");
}
else
{
window.open("others.aspx","_self");
}
}
</script>
</head>
<body onload="javascript:control()">
</body>
</html>
document.all("TextBox1").value = window.screen.height;
document.all("TextBox2").value = window.screen.width;
</script>