标题: 模板文字背景插入问题? [打印本页]

作者: xinxinjunhua    时间: 2012-6-28 10:33
标题: 模板文字背景插入问题?
请问如何将下面“aaaa.jpg”背景图指定成模板的文字背景。
[attach]59370[/attach]
aaaa.jpg

下面是软景模板:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>[PART1]</title>
<style>
<!--
.title_index{ /*大标题样式*/
font-size: 26pt;
font-family: "隶书";
color: #999966;
font-weight: bold;
}
.title_page{ /*题目样式*/
font-size: 12pt;
font-family: "黑体";
color: #999966;
font-weight: bold;
}
.content{/*内容样式*/
font-size: 10.5pt;
font-family: "宋体";
line-height: 14pt; /*行距*/
}
.content img {
margin: 7px;
}
.9{ font-size: 9pt }
.TitleLinks{ /*索引列表的停靠方位*/
text-align: center;
}
.TitleLinks .content { /*索引页使用文字列表符时,修改行距*/
line-height: 20pt;
}
.TitleLinks .content img { /*索引页使用图形列表符时,修改行距*/
margin-top: 7px;
margin-bottom: 7px;
}
A:link {text-decoration: none; color:#0033CC}
A:visited  {text-decoration: none; color: #0033CC}
A:active {text-decoration: none; color: #0000ff }
A:hover {text-decoration: underline; color: #FF0000 }
-->
</style>
</head>
<body bgcolor="#009966">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td width="90%" bgcolor="#000000"><table border="0" cellspacing="1" width="100%"
    cellpadding="6" height="98">
<tr>
<td width="100%" height="20" background="images/PAPER10.JPG" bgcolor="#F7F7F7"><table border="0" cellpadding="0"
        cellspacing="0" width="100%">
<tr>
<td width="61%" height="13"><p class="9"> </td>
<td width="39%"><p align="right" class="9">[GOPREV] [GOINDEX] [GONEXT]</td>
</tr>
</table></td>
</tr>
<tr bgcolor="#DFE0D1">
<td width="100%" height="21"> <div align="center" class="title_[PAGETYPE]">[PART1]</div></td>
</tr>
<tr bgcolor="#F5F7EE">
<td width="100%" height="51"><table width="100%" height="261" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="230" valign="top"><DIV class="content" align="left">
<p><br>
[PART0]<br>
<br>
</p>
</DIV></td>
</tr>
<tr>
<td height="25" align="center"><img src="images/N14.GIF" width="587" height="32"></td>
</tr>
</table></td>
</tr>
<tr>
<td width="100%" height="20" background="images/PAPER10.JPG" bgcolor="#F7F7F7"><table border="0" cellpadding="0"
        cellspacing="0" width="100%">
<tr>
<td width="61%"><p class="9"><font color="#CCCCCC"></font></font></td>
<td width="39%"><p align="right" class="9">[GOPREV] [GOINDEX] [GONEXT]</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<a href="http://www.ruanjing.com?a=hb2" target="_blank"><font color="#DDDDDD" face="Arial, Helvetica, sans-serif" style="font-size:8pt;"></font> </a>
</center>
</div>
</body>
</html>
作者: 我是风    时间: 2012-6-28 12:36
标题: 回 2楼(xinxinjunhua) 的帖子
把颜色代码改为图片路径就可,当然前面的代码也要改,




欢迎光临 (http://admin.zazww.com/) Powered by Discuz! X3.2