il foglio stile:
codice:
body{
background: #f0f0f0;
}
table{
background: #e6e6e6;
border-width:1px;
height:480px;
}
a:link{color:#000000;
text-decoration:none;}
a:visited{color:#000000;
text-decoration:none;}
a:hover{color:#FFFFFF;
text-decoration:none;}
a:active {color:#000000;
text-decoration:none;}
#tabsx{margin-left: 110px;
margin-top: 10px;
}
#alt{margin-left: 110px;
width:770px;
border-width:1px;
height:80px;}
#tabdx{margin-left:310px;
}
.titolo{
height:20px;
color:green;
border-collapse: collapse;
background:#fcfcfc;
border-width:1px;
border-style:outset;
border-color:#d2d2d2;
width:95%;
text-align:center;
}
la pagina:
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
<head>
<title>Home</title>
<meta http-equiv="Content-Type" content="text/xhtml; charset=ISO-8859-1" />
<meta content="Home Page - CSI WORLD" name="description" />
<meta content="grissom csi CSI C.S.I c.s.i miami horatio gill las vegas" name="keywords" />
<meta http-equiv="Content-Language" content="it" />
<link rel="stylesheet" href="stile.css" type="text/css" />
</head>
<body>
<table cellspacing="0" border="1" cellpadding="0" id="alt">
<tr>
<td colspan="5">
<p align="center">
<font size="6">CSI WORLD</font>
</p>
</td>
</tr>
<tr>
<th width="156">
Personaggi
</th>
<th width="156">
Episodi
</th>
<th width="156">
Photogallery
</th>
<th width="156">
Forum
</th>
<th width="156">
Chi siamo
</th>
</tr>
</table>
<div id="tabsx">
<table cellspacing="0" cellpadding="0" width="190" border="1" align="left">
<tr>
<td valign="top">
<table class="titolo" align="center" >
<tr>
<td> NEWS
</td>
</tr>
</table>
24/01/05
<ul type="circle">[*]bla bla bla
[/list]
<hr />
<table class="titolo" align="center" >
<tr><td>LINKS
</td></tr>
</table>
</td>
</tr>
</table>
</div>
<div id="tabdx">
<table cellspacing="0" cellpadding="0" width="570" border="1" align="left">
<tr>
<td valign="top"></td>
</tr>
</table>
</div>
</body>
</html>
in questo modo il validatore del w3c mi da l'home come valida per l'xhtml transitional e anche i css sono apposto.
però rimane ilfatto che la visualizzazione dei bordi varia da IE a Firefox.