Need some CSS HTML Lesion ...
I the past i worked always with css classes... since I try to you use the "new dhtmlmenu RT" I know some thing about ID's.
so what is the best way do define the template... just a easy example..
Code: Select all
<table width="800" border="0" cellpadding="0" cellspacing="0" id="siteFooter">
<tr>
<td align="center" class="tblFooterBorderTop"> </td>
</tr>
<tr>
<td align="center"><a href="http://www.phpwcms.de" target="_blank">Build by phpwcms</a> | [ID impressum]Impressum[/ID]| {LAST UPDATED:0}</td>
</tr>
<tr>
<td align="center"> </td>
</tr>
</table>
now I define in the css ..
Code: Select all
#siteFooter a:link, a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
text-decoration: none;
color: #C0C0C0;
background-color: #FFFFFF
}
#siteFooter a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
text-decoration: underline;
color: #000000;
background-color: #FFFFFF
}
But what’s about the RT Text. Should I define these things in a class?
And what’s about the Border in the first row... should I define this also in class?
like
Code: Select all
.tblFooterBorderTop {
border-top-color: #CC0000;
border-top-style: solid;
border-top-width: 1px
}
Sven