网页为什么隔一段时间自己就变小

summily 2010-10-18 06:36:17
写了个页面 就下面一个css文件,打开这张页面,然后去上网,上一段时间网后,在到我写的这张页面来,页面上的文字有些模糊失真,还变小,以选择页面上的文字,文字就又变回来了,这是怎么回事啊。



body{
font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
}
p, h1
{
border:0;
margin:0;
padding:0;
}

/* ----------- My Form ----------- */
.myform{
margin:0 auto;
width:770px;
padding:14px;
}
#stylized{
border:solid 2px #b7ddf2;
background:#ebf4fb;
}
#stylized h1 {
font-size:14px;
font-weight:bold;
margin-bottom:8px;
}
#stylized p{
font-size:11px;
color:#666666;
margin-bottom:20px;
border-bottom:solid 1px #b7ddf2;
padding-bottom:10px;
}
#stylized label{
display:block;
font-weight:bold;
text-align:right;
width:100px;
float:left;

}
#stylized .small{
color:#666666;
display:block;
font-size:11px;
font-weight:normal;
text-align:right;
width:100px;
}

.submitbutton{
border-bottom:solid 1px #C1DAD7;
border-right:solid 1px #C1DAD7;
border-left:solid 1px #C1DAD7;
border-top:solid 1px #C1DAD7;
background-color:#ffffff;
background-image:url(../IMG/button_submit.png);
background-repeat:no-repeat;
padding-top:2px;
height:19px ;
color: #4f6b72;
font: normal 12px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}
.backbutton{
border-bottom:solid 1px #C1DAD7;
border-right:solid 1px #C1DAD7;
border-left:solid 1px #C1DAD7;
border-top:solid 1px #C1DAD7;
background-color:#ffffff;
background-image:url(../IMG/button_back.png);
background-repeat:no-repeat;
padding-top:2px;
height:19px ;
color: #4f6b72;
font: normal 12px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}




#tm2008style .select_box{width:102px;height:24px;float:left;}

#tm2008style div.tag_select{display:block;color:#000;width:82px;height:22px;background:transparent url(../IMG/button_selectbox.gif) no-repeat 0 0;padding:0 10px;line-height:22px;}
#tm2008style div.tag_select_hover{display:block;color:#000;width:82px;height:22px;background:transparent url(../IMG/button_selectbox.gif) no-repeat 0 -22px;padding:0 10px;line-height:22px;}
#tm2008style div.tag_select_open{display:block;color:#000;width:82px;height:22px;background:transparent url(../IMG/button_selectbox.gif) no-repeat 0 -44px;padding:0 10px;line-height:22px;}

#tm2008style ul.tag_options{position:absolute;margin:0;list-style:none;background:transparent url(../IMG/button_selectbox.gif) no-repeat left bottom;width:100px;padding:0 0 1px;margin:0;width:80px;}
#tm2008style ul.tag_options li{background:transparent url(../IMG/button_selectbox.gif) repeat-y -102px 0;display:block;width:61px;padding:0 10px;height:22px;text-decoration:none;line-height:22px;color:#000;}

#tm2008style ul.tag_options li.open_hover{background:transparent url(../IMG/button_selectbox.gif) no-repeat 0 -88px;color:#000}
#tm2008style ul.tag_options li.open_selected{background:transparent url(../IMG/button_selectbox.gif) no-repeat 0 -66px;color:#19555F}


.salesorder_product
{
border:2px solid #b7ddf2;
border-bottom-width: 0;
border-collapse: collapse;
width:740px;
}
.salesorder_product td
{
border:1px solid #b7ddf2;
text-align: right;
}
.salesorder_product th
{
border:1px solid #b7ddf2;
}


.salesorder_product2
{
border:2px solid #b7ddf2;
border-top-width: 0;
border-collapse: collapse;
width:740px;
}
.salesorder_product2 td,th
{
border:1px solid #b7ddf2;
border-top-width: 0;
}
...全文
82 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
给你的body字体族加入一个汉字字体。
保险点再在p和small里设置汉字字体和字体尺寸。
summily 2010-10-18
  • 打赏
  • 举报
回复
正常情况


隔断时间后:
summily 2010-10-18
  • 打赏
  • 举报
回复
IE7 浏览器
summily 2010-10-18
  • 打赏
  • 举报
回复
其中主要<p> 跟span class="small"> 里面的字会变 ,变了以后用鼠标一拖选中,又正常了。
summily 2010-10-18
  • 打赏
  • 举报
回复
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>销售服务系统 Version1.00</title>
<link rel="stylesheet" type="text/css" href="CSS/Login.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
<br/><br/><br/><br/><br/><br/>
<div id="stylized" class="myform">
<form id="form1" name="form1" method="post" action="login.do" >
<h1>销售管理系统</h1>
<p>版本号是这个 version1.0</p>
<label>用 户 名
<span class="small">输入用户名</span>
</label>
<input type="text" id="textfield" name="loginid" />

<label>密 码
<span class="small">输入密码</span>
</label>
<input type="text" id="textfield" name="upassword"/>
</form>
</div>
</body>
</html>
幕子丿昔 2010-10-18
  • 打赏
  • 举报
回复
想想不出来楼主描述的样子。。。
有地址吗? 或者把HTML也贴上来

61,115

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧