Salut,
Voici à quoi je voudrais arriver :
http://www.cours-info.net/tmp/test.jpg
Cependant je n'y arrive pas... Je suis bloqué avec le CSS. Voici mes sources :
Le CSS :
Comment puis-je faire pour arriver au résultat recherché ?
Merci d'avance,
MaTHieU
Modifié par mrousse (16 Mar 2005 - 23:55)
Voici à quoi je voudrais arriver :
http://www.cours-info.net/tmp/test.jpg
Cependant je n'y arrive pas... Je suis bloqué avec le CSS. Voici mes sources :
<?
include( 'configuration.inc.php' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//FR" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>GestMag</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
</head>
<body>
<div id="page">
<div id="header">
</div>
<div id="bloc">
</div>
<div id="footer">
© 2005 GestMag - Version <? echo $version ?><br/><br/>
<a href="http://validator.w3.org/check/referer"><img src="images/xhtml.png" width="80" height="15" border="0" alt="Validation XHTML 1.0"/></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="images/css.png" width="80" height="15" border="0" alt="Validation CSS"/></a>
<br/><br/>
</div>
</div>
</body>
</html>
Le CSS :
body
{
background : #0099FF;
color : #000000;
}
#page
{
background : #FFFFFF;
border-style : solid;
border-width : 1px;
border-color : #000000;
margin-left : auto;
margin-right : auto;
width : 800px;
}
#header
{
background : #FFFFFF;
text-align : center;
}
#bloc
{
background : #99CCCC;
border-style : solid;
border-width : 1px;
border-color : #000000;
color : #000000;
width : 200px;
}
#footer
{
background : #FFFFFF;
font-family : verdana, helvetica, arial, sans-serif;
font-size : 10px;
text-align : center;
}
Comment puis-je faire pour arriver au résultat recherché ?
Merci d'avance,
MaTHieU
Modifié par mrousse (16 Mar 2005 - 23:55)