Allora, sto rifacendo da capo questo sito che avevo sviluppato usando le tabelle, adesso sto cercando di usare i css...
Qualcuno mi aiuta a migliorare questo pezzo di codice, togliendo tutte le tabelle e usando i css per favore?
Questo é il codice in stile tabellare:
Lo farei da solo, ma con i css proprio non ci sono abituato... almeno ditemi in che modo procedere magari scrivendomi solo come eliminare la prima tabella usando i css... grazie...codice:<body id="body_bg"> <div id="page_bg"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>[img]images/b_bg_full_top.png[/img]</td> </tr> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10" class="header_left"></td> <td width="700" class="def_white" valign="middle"> <object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="675" height="30"> <param name="movie" value="media/slogan.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="6.0.65.0" /> <object type="application/x-shockwave-flash" data="media/slogan.swf" width="675" height="30"> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="6.0.65.0" /> <div> <h4>The contentn of this page requires a new version of Adobe Flash Player.</h4> <a href="http://www.adobe.com/go/getflashplayer"></a> </p> </div> </object> </object> </td> <td width="508" class="def_white" align="right" valign="middle"> <div id="search"> <form action="http://www.deshiadda.com/content/search/results.php" id="cse-search-box"> <div class="search"> <input name="q" id="mod_search_searchword" maxlength="20" alt="Search" class="inputbox" type="text" size="20" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" /> <input name="sa" type="submit" class="button" id="sa" onclick="this.form.searchword.focus();" value="Search"/> </div> <input name="cx" type="hidden" id="cx" value="partner-pub-1126131820265438:7651068947" /> <input name="cof" type="hidden" id="cof" value="FORID:10" /> <input name="ie" type="hidden" id="ie" value="UTF-8" /> </form> <div class="clr"> </div> </div> </td> <td width="10" class="header_right">[img]images/header_right.png[/img]</td> </tr> </table> </td> </tr> </table> <table width="100%%" border="0" cellspacing="0" cellpadding="0"> <tr> <th scope="col"> <table width="100%%" border="0" cellspacing="0" cellpadding="0"> <tr> <th scope="col" class="header_left" width="10"></th> <th scope="col" class="def_white" height="166">[img]images/banner.png[/img]</th> <th scope="col" class="header_right" width="10"></th> </tr> </table> </th> </tr> <tr> <td>[img]images/b_bg_full.png[/img]</td> </tr> <tr> <td></td> </tr> <tr> <td align="center" >[img]images/center_bg_up.png[/img]</td> </tr> </table>

</a>
</p>
</div>
</object>
</object>
</td>
<td width="508" class="def_white" align="right" valign="middle">
<div id="search">
<form action="http://www.deshiadda.com/content/search/results.php" id="cse-search-box">
<div class="search">
<input name="q" id="mod_search_searchword" maxlength="20" alt="Search" class="inputbox" type="text" size="20"
value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
<input name="sa" type="submit" class="button" id="sa" onclick="this.form.searchword.focus();" value="Search"/>
</div>
<input name="cx" type="hidden" id="cx" value="partner-pub-1126131820265438:7651068947" />
<input name="cof" type="hidden" id="cof" value="FORID:10" />
<input name="ie" type="hidden" id="ie" value="UTF-8" />
</form>
<div class="clr"> </div>
</div>
</td>
<td width="10" class="header_right">[img]images/header_right.png[/img]</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col">
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col" class="header_left" width="10"></th>
<th scope="col" class="def_white" height="166">[img]images/banner.png[/img]</th>
<th scope="col" class="header_right" width="10"></th>
</tr>
</table>
</th>
</tr>
<tr>
<td>[img]images/b_bg_full.png[/img]</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td align="center" >[img]images/center_bg_up.png[/img]</td>
</tr>
</table>
Rispondi quotando