l'orsque j'enléve ou remplacer (par un autre doctype) la ligne :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
mon site se déforme, est il ne sera pas centrée, pourtant j'ai mis mon site dans un tableau comme suit :
1 2 3 4 5 6 7 8 9 10
|
<body>
<table cellSpacing="0" cellPadding="0" width="850px" align="center" bgColor="#ffffff" border="0">
<tr>
<td>................</td>
<td>................</td>
<td>................</td>
</tr>
</table>
</body> |
mon css est :
1 2 3 4 5 6 7 8 9
| body {
width: 850px;
margin: auto;
margin-top:20px;
margin-bottom:20px;
background: #FFFFFF;
border: 1px solid #e7e6d5;
background: #FFFFFF url(../images/bodybg.png);
} |
( je développe avec notepad++)
et merci de votre aide,
Partager