Ho impostato questa pagina in questo modo:
Tutto semplice, ma c'è una cosa che non riesco a fare. Se il contenuto del CONTENT e maggiore, i Div SIDEBAR A & B non lo seguono in lunghezza. Siccome devo inserire uno sfondo, come posso fare in modo che le due SIDEBAR seguano in lunghezza il CONTENT???Codice PHP:[SIZE=1]
<!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>
<meta name="generator" content="Pix" />
<style type="text/css">
html,body{margin: 0;padding:0}
body{font-family: arial,sans-serif;
font-size: 76%;
text-align:center
}
#container {
width: 926px;
\width: 946px;
w\idth: 926px;
border: 1px solid gray;
margin: 0px;
margin-left: auto;
margin-right: auto;
padding: 0px;
}
#banner {
padding: 0px;
margin-bottom: ;
background-color: rgb(213, 219, 225);
}
#content {
float: left;
width: 396px;
height:auto;
padding: 0px;
margin-left: ;
margin-right: ;
background-color: gray;
}
#sidebar-a {
float: left;
width: 230px;
height:auto;
margin: 0;
margin-right: ;
padding: 0px;
background-color: rgb(235, 235, 235);
}
#sidebar-b {
float: right;
width: 300px;
height:auto;
margin: 0;
margin-left: ;
padding: 0px;
background-color: rgb(235, 235, 235);
}
#footer {
clear: both;
padding: 0px;
margin-top: ;
background-color: rgb(213, 219, 225);
}
</style>
</head>
<body>
<div id="container">
<div id="banner"></div>
<div id="sidebar-a"></div>
<div id="sidebar-b"></div>
<div id="content"></div>
<div id="footer"></div>
</div>
</body>
</html>
[/SIZE]
Forse ho sbagliato formattazione, e dovevo creare un solo DIV e all'interno dividerlo in Tabelle??? :master:

Rispondi quotando