7Fermer9
Pen^2Le 30/12/2010 à 22:58
Bon, ben visiblement en donnant une marge de 0px sur le H1 ça fonctionne. Mais pas en lui donnant une margin:none confus
C'est pas standard margin:none ?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<body>
<div style="float:left;background-color:red;position:static;">
	<h1 style="margin:none;">fonctionne pas</h1>
</div> 
</body>
</html>





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<body>
<div style="float:left;background-color:red;position:static;">
	<h1 style="margin:0px">fonctionneh1>
</div> 
</body>
</html>