
July 11th, 2003, 11:52 AM
|
|
Contributing User
|
|
Join Date: Jul 2003
Posts: 61
Time spent in forums: 6 m
Reputation Power: 6
|
|
|
how to use class in css
hello guys
i put this code in my page
PHP Code:
<head >
<style>
<!--
td.td1
{
background-image: url(../../image/Uinfor_bg2.gif);
width: auto;
text-align: center;
}
td.td2
{
background-image: url(../../image/Uinfor_bg.gif);
width: auto;
text-align: center;
}
.TDA
{
background-image: url(../../image/Cbg2.gif);
width: 20px;
text-align: center;
}
TD.TDB
{
background-image: url(../../image/Cbg.gif);
width: 20px;
text-align: center;
}
-->
</style>
<title>My site</title>
</head>
and when i use it .... it dosnt work.....
how can i use it
i try to do this
PHP Code:
<body>
<tr vlaign='top'><td class='TDB'></td><td width='*'>
<table width='100%' vlaign='top'>
<tr vlaign='top' width='100%'><td align='center'><a href='index.php?id=1'>a1</a></td>
<td align='center'><a href='index.php?id=8'>a2</a></td>
<td align='center'><a href='index.php?id=9'>a3</a></td>
</tr>
<tr width='100%'>
<td align='center'><a href='index.php?id=10'>b1</a></td>
<td align='center'><a href='index.php?id=11'>b2</a></td>
</tr>
</table>
</td>
<td class="TDA"></td></tr>
<tr vlaign='top'><td ><img border='0' src=image/RDC.gif></td><td class='td1'></td><td ><img border='0' src=image/LDC.gif></td></tr></table><br>
</body>
|