自己写了个 logO图片上 显示问题则CSS样式。CSS可是真强大啊。
2011-05-19 11:14 沐海 阅读(500) 评论(0) 编辑 收藏 举报 <style type="text/css">
.img1 {float:left;position:relative}
img{ display:block}
.mask1 {position:absolute;bottom:10;height:70px;width:450px;left:30;overflow:hidden;border-left:#000 solid 0px;border-right:#000 solid 0px;border-top:#000 solid 0px;border-bottom:#000 solid 0px;}
H1 {
PADDING-BOTTOM: 5px; LINE-HEIGHT: 30px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: "黑体"; COLOR: #464646; FONT-SIZE: 31px; FONT-WEIGHT: bold; PADDING-TOP: 20px
}
</style>
</head>
<body link="#000000" vlink="#000000" alink="#000000" onload="Notice();Notice2()">
<input type="hidden" id="nameparam" runat="server" />
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<tbody>
<tr>
<td bgcolor="#984B4B" height="4">
</td>
</tr>
</tbody>
</table>
<%--头部部分--%>
<table style="margin-bottom: 4px" cellspacing="0" cellpadding="0" width="910" align="center"
border="0">
<tbody>
<tr>
<%-- <td width="910" height="100" background="images/LOGO.jpg">
<p align="center">
<b></b>
</td>--%>
<td width="910" height="100">
<div class="img1"><img src="images/LOGO.jpg" width="100%" />
<div class="mask1"><h1><label id="CompanyNameTwo" runat="server"></label></h1></div>
</div>
</td>
</tr>