anche tu hai ragione...ero un po' fuso ieri...
per esempio il codice per formattare la <table>:
codice:
<table cellspacing="0" cellpadding="0" id="menu0" class="menu_sfondo">
<tr>
<td valign="top">
<div style="position: absolute; left: 6px;">
<table border="0" width="194" cellspacing="0" cellpadding="0" id="menu1">
<tr>
<td class="menu_tit">Menù principale</td>
</tr>
<tr>
<td class="menu_voci">
uno
due
tre
prova
</td>
</tr>
<tr>
<td class="menu_down"></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
e questi sono gli stili deviniti nel file CSS:
codice:
table.menu_sfondo {
border: 0px;
background-color: #295C87;
background-image: url(http://localhost/images/hp3.jpg);
width: 100%;
height: 100%;
}
td.menu_tit {
border: 0px;
background-image: url(http://localhost/images/m1.jpg);
width: 100%;
height: 17px;
font-family: Verdana, Arial, Helvetica, Sans-Serif;
color: #5874CC;
font-size: 10px;
font-weight: bold;
}
td.menu_voci {
border: 0px;
background-image: url(http://localhost/images/m2.jpg);
width: 100%;
font-family: Verdana, Arial, Helvetica, Sans-Serif;
color: #295C87;
font-size: 10px;
}
td.menu_down {
border: 0px;
background-image: url(http://localhost/images/m3.jpg);
width: 100%;
height: 10px;
}
Il file che contiene il codice ASP viene incluso nel codice ASP con:
mentre il file CSS viene linkato nell'head del file ASP con:
codice:
<link href="http://localhost/css/generale.css" type="text/css" rel="stylesheet">
ecco qui... che ne pensi?
ciao e grazie!