ciao forum,
ieri avevo un problema nel comporre un sito con tre colonne con sopra l'header ed una barra di navigazione.
Mi è stato dato questo link
http://blog.html.it/layoutgala/indexIta.html
Ho quindi scaricato il layout N.8 ed ho provato a replicare le cose nel mio sito.
Risultato: l'esempio funziona benissimo, il mio sito no...![]()
vi riporto qui la parte del mio codice "incriminata", non capisco dove sbaglio...![]()
Alla fine ho cambiato solo le misure...![]()
mio codice html:
<div id="wrapper">
<div id="content">
1) Content here. column long long column very long fill fill fill long text text column text silly very make long very fill silly make make long make text fill very long text column silly silly very column long very column filler fill long make filler long silly very long silly silly silly long filler make column filler make silly long long fill very.</p>
very make make fill silly long long filler column long make silly silly column filler fill fill very filler text fill filler column make fill make text very make make very fill fill long make very filler column very long very filler silly very make filler silly make make column column </p>
</div>
</div>
<div id="navigation">
2) Navigation here. long long fill filler very fill column column silly filler very filler fill fill filler text fill very silly fill text filler silly silly filler fill very make fill column text column very very column fill fill very silly column silly silly fill fill long filler </p>
</div>
<div id="extra">
3) More stuff here. column long make silly silly filler silly very very very long column filler fill make column make silly column fill silly column long make silly filler column filler silly long long column fill silly column very </p>
</div>
mio codice css:
div#wrapper {
float:left;
width:100%;
}
div#content {
margin: 20px 190px;
}
div#navigation {
float:left;
width:190px;
margin-left:-190px;
}
div#extra {
float:left;
width:190px;
margin-left:-936px;
}
grazie, ciao

Rispondi quotando