CSS问题
- 提问者网友:难遇难求
- 2021-06-05 15:13
<tr>
<td width="26%"> </td>
<td width="74%"><a href="VAA.htm">微型真空泵(VAA系列)</a></td>
</tr>
</table> 网页中重复使用这段代码,怎么写成css样式表,又怎么引用?急···
- 五星知识达人网友:青尢
- 2021-06-05 16:00
.tb{width=100%; height=26; border="0"; cellpadding="0" ;cellspacing="0";background="images/mid-l_04.jpg"}
.td1{width="26%"}
.td2{width="74%"}
<table class="tb">
<tr>
<td class="td1"> </td>
<td class="td2"><a href="VAA.htm">微型真空泵(VAA系列)</a></td>
</tr>
</table>
- 1楼网友:低血压的长颈鹿
- 2021-06-05 17:56
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=" http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title> <style type="text/css"> <!-- .tb { width:100%; border:0; margin:0; padding:0; background:url(images/mid-l_04.jpg); } .tb td { width:26%; height:26px; } .tb th { font-weight:normal; text-align:left; width:74%; } --> </style> </head>
<body> <table class="tb"> <tr> <td> </td> <th><a href="VAA.htm">微型真空泵(VAA系列)</a></th> </tr> </table> </body>
</html>
- 2楼网友:人類模型
- 2021-06-05 16:27