Ho un problema con questo codice:
FOGLIO CSS:
body{
background-color: #00890E;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
}
#box{
background-image: url(images/BG2.gif);
background-repeat: repeat-x;
height: 100%;
width: 100%;
background-position:center;
}
PAGINA HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="" border="0" cellpadding="0" cellspacing="0" id="box">
<tr>
<td></td>
</tr>
</table>
</body>
</html>
Quello che vorrei ottenre è la tabella sempre centrata nella pagina, purtroppo su DW in progettazione è ok, ma su IE o FF non vedo ninete tranne lo sfondo del body.
Ciao

Rispondi quotando