Problème de centrage de ma page
Bonjour à tous,
j'ai un problème vis à vis de ma page web. J'ai utilisé pas mal de balise mais impossible de centrer ma page. Voicic les codes :
CSS :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
#global_ {
position:absolute;
left:0px;
top:0px;
width:1000px;
height:1000px;
margin: center;
}
#akolite_ {
position:absolute;
left:22px;
top:34px;
width:333px;
height:39px;
}
#forum_ {
position:absolute;
left:386px;
top:132px;
width:210px;
height:208px;
}
#site_ {
position:absolute;
left:673px;
top:132px;
width:207px;
height:208px;
}
#tuto_ {
position:absolute;
left:102px;
top:133px;
width:208px;
height:208px;
}
#tete_ {
position:absolute;
left:566px;
top:563px;
width:434px;
height:331px;
}
#foot_ {
position:absolute;
left:0px;
top:894px;
width:1000px;
height:106px;
} |
Et le HTML :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| <!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>
<link rel="stylesheet" type="text/css" href="style.css" />
<title>akolite</title>
</head>
<body style="background-color:#FFFFFF;">
<div id="global_">
<div id="akolite_">
<img id="akolite" src="images/akolite.gif" width="333" height="39" alt="" />
</div>
<div id="forum_">
<img id="forum" src="images/forum.gif" width="210" height="208" alt="" />
</div>
<div id="site_">
<img id="site" src="images/site.gif" width="207" height="208" alt="" />
</div>
<div id="tuto_">
<img id="tuto" src="images/tuto.gif" width="208" height="208" alt="" />
</div>
<div id="tete_">
<img id="tete" src="images/tete.gif" width="434" height="331" alt="" />
</div>
<div id="foot_">
<img id="foot" src="images/foot.gif" width="1000" height="106" alt="" />
</div>
</div>
<!-- End ImageReady Slices -->
</body>
</html> |
Alors je suis débutant dans le domaine et il y a fort à parier que les codes soient pour la plus part erronés.
Merci.