Riscrivo tutto semplificando.
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="stile.css" />
<title>E` necessario inserire un titolo</title>
</head>
<body>
<div id="pag">
<h2>Tab Menu</h2>
<ul>
[*]HomePage
[*]News
[*]Download
[*]Report PPV
[*]Forum
[*]Account[/list]
</div>
</body>
</html>
file stile.css
codice:
html, body {
width: 100%;
font-size: 100%;
margin: 0;
padding: 0;
font: bold Verdana, sans-serif;
background: url(background.gif) repeat;
text-align: center; /* allineamento centrale, per IE */
}
img {
border: 0px;
}
h2 {
font: bold x-larger Verdana, Arial, Helvetica, sans-serif;
color: #000;
margin: 0;
padding: 0 0 0 15px;
}
#pag {
width: 75%;
height: 600px;
background: #E6FFBF;
margin: 0px auto; /* allineamento centrale, per FF */
text-align: left; /* riporta il testo a sinistra */
border: 1px solid #000;
}
/* Menu Tabs */
#pag ul {
float: left; /* a che serve ?? */
width: 85%;
background: #E6FFBF;
font-size: 93%;
line-height: normal;
border-bottom: 1px solid #CCC;
margin: 0;
padding: 10px 10px 0 50px;
list-style: none;
}
#pag li {
/* display: inline; */
float: left;
margin: 0px;
padding: 0px;
background: url(SINISTRABORDO.gif) no-repeat left top;
}
#pag a {
padding: 0 0 0 4px;
text-decoration: none;
border: 0;
color: #838383;
}
#pag a:hover {
color: #434343;
background-position: 0% -42px;
}