#12005/7/8 10:54:54
由于要将公司网站Table改成Div形式,所以准备重写,毕竟,改得太累.也不会改,一个不小心就出错了...于是手工重写...
但是在写开头的时候还正常.写到要横着排的时候就出问题了,不知道为什么,排列方式一直都是竖排,无法横着排列.后来加了个Css样式,有一个图片变正常了,原本还高兴,结果是输入后一张图片的时候,顺序又变成竖形的了...好郁闷哪..!~~Css和Html不是很熟悉..哪位帮忙看一下问题出错处!~~~~~~~~~~~~~~
********************************源代码如下*******************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0028)http://www.sxhighway.gov.cn/ -->
<HTML><HEAD><TITLE>陕西公路信息网</TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<META content="" name=Author>
<META content="" name=Keywords>
<META content="" name=Description>
<META http-equiv=Content-Language content=zh-cn>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="陕西公路信息网.files/index_style.css" type=text/css rel=stylesheet>
<STYLE>BODY {
FONT-SIZE: 9pt; MARGIN: 0px
}
TD {
FONT-SIZE: 9pt; COLOR: #000000; LINE-HEIGHT: 17px
}
HTML {
min-width: 774px
}
#bodyten {
CLEAR: both; WIDTH: 774px; HEIGHT: auto
}
#tdhw{
width:220px; height:100px;
}
#tdhw.hen {
FLOAT: left; MARGIN: 5px 4px
}
#top_user{
width:437; height:auto; background-color:#A1EE50; FLOAT: left;
}
#time1{
align:middle; height:20; width:220px; float:left;
}
</STYLE>
</HEAD>
<body>
<!--导航开始--><div id="bodyten"><div id="tdhw" style="BACKGROUND-POSITION: 100% 50%; BACKGROUND-REPEAT: no-repeat"><img src="images/logo_bg.jpg"></div>
<!--时间go--><div id="time1" align="center"><SCRIPT language=javascript>
var today=new Date()
var month=today.getMonth()+1
var todayday=today.getDay();
if (todayday == 0) todayday = "星期天";
if (todayday == 1) todayday = "星期一";
if (todayday == 2) todayday = "星期二";
if (todayday == 3) todayday = "星期三";
if (todayday == 4) todayday = "星期四";
if (todayday == 5) todayday = "星期五";
if (todayday == 6) todayday = "星期六";
document.write(today.getYear()+"年"+month+"月"+today.getDate()+"日 "+todayday)
</SCRIPT></div><!--时间End-->
<div class="hen"><IMG height=24 alt=""
src="images/top_mail_left.jpg" width=8 border=0></div>
<div id="top_user" style="PADDING-TOP: 3px">dddddd</div>
</div><!--导航结束-->
</body>
</html>