网站建设过程中常用的代码有哪些?
网站页面设计过程中常用的边框、表格代码。
网站建设过程中常用的代码有哪些?
1、字体行高代码
<div style="margin-top: 5px; color: #666; text-indent: 2em; line-height: 26px">
2、表格边框变细代码
<table border="1" bordercolor="#000000" style="border-collapse: collapse" cellpadding="0" cellspacing="0" >
3、边框变细代码
<table cellpadding="0" cellspacing="0" style="border-right: #d4d4d4 1px solid; border-top: #d4d4d4 1px solid; border-left: #d4d4d4 1px solid; width: 990px; border-bottom: #d4d4d4 1px solid">
4、表格背景颜色代码
<table bgcolor="#fefaf9" border="0" cellpadding="0" cellspacing="0" style="width: 720px">
5、边框表格背景图
<table height="25" cellspacing="0" cellpadding="0" width="298" align="center" summary="" background="/kymmhupfiles/jh101/bj/201102042157525676.gif" border="0">
6、顶部对齐代码
<table cellspacing="0" cellpadding="0" width="950" align="center" summary="" background="" border="0">
<tbody>
<tr>
<td valign="top"> </td>
</tr>
</tbody>
</table>
7、边框顶高代码
<table style="MARGIN-TOP: 2px" border="0" cellpadding="0" cellspacing="0" style="width: 720px">


.png)








