Ciao sono alle primissime armi e sto cercando di imparare.
Sto modificando a mio piacimento header footer left e right ora vorrei sapere come si fà a centrare il tutto magari che lo faccia autonomamente rispetto ai monitor degli utenti.
grazie in anticipo.
copio il codice qui sotto.
-----
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><HEAD><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>index</TITLE>
<STYLE type="text/css">
body{
background-color:#dc8;
font-size:16px;
margin:0;
padding:0;
}
#header{
background-color:#333;
height:90px;
width:1024px
}
#left{
float:left;
width:227px;
background-color:#dc8;
min-height:650px;
height:auto
height:545px;
}
#center {
margin-left:227px;
background-color:#eec;
min-height:650px;
height:auto
height:545px;
width:797px;
}
#footer {
clear:both;
background-color:#333;
height:133px;
width:1024px
}
</STYLE>
</HEAD><BODY>
<DIV id="header">
</DIV>
<DIV id="left">
</DIV>
<DIV id="center">
</DIV>
<DIV id="footer">
</DIV>
</BODY></HTML>

Rispondi quotando