wie heeft een idee om de opmaak van een table dmv een css Class selector de tables op temaken. zie voorbeeld.

<table width="717" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="540" height="22" colspan="6">
<table width="690" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td wclassth="132" height="23">
<div class"TopMenu"><a href="<? echo $top_menu_link_1; ?>"><? echo $top_menu_1; ?></a></div></td>
<td width="132">
<div class"TopMenu"><a href="<? echo $top_menu_link_2; ?>"><? echo $top_menu_2; ?></a></div></td>
<td width="132">
<div class"TopMenu"><a href="<? echo $top_menu_link_3; ?>"><? echo $top_menu_3; ?></a></div></td>
<td width="132">
<div class"TopMenu"><a href="<? echo $top_menu_link_4; ?>"><? echo $top_menu_4; ?></a></div></td>
<td width="132">
<div class"TopMenu"><a href="<? echo $top_menu_link_5; ?>"><? echo $top_menu_5; ?></a></div></td>
</tr>
</table>
<td class="jeclass"> al geprobeerd? :))
Als dit is wat je bedoeld...
wat ik bedoel is hoe ik deze code kan omzetten naar iets algemeens in een css file. zodat ik die als layer kan gebruiken voor alle bestanden waarin tables worden gedeclareerd.

Reageren