Salve! ho creato questo css :
body { }
#intestazione {
width : 100%;
text-align : center;
background-color : red;
color : blue;
height : 76px;
}
#box {
width : 100%;
text-align : left;
position : relative;
}
#sinistra {
position : absolute;
top : 0;
left : 0;
width : 20%;
background-color : #0000cc;
}
.loghi {
background-color : orange;
text-align : left;
font-weight : bold;
font-size : 100%;
}
#centro {
width : 100%;
background : black;
color : red;
background-color : brown;
text-align : center;
}
vorrei che il testo nella parte centrale mi partisse all'inizio della sezione centrale..ma se scrivo con allieneamento left le scritte vanno sotto la parte sinistra!La pagina con cui ho fatto le prove è questa:
<html>
<head>
<STYLE type=text/css>@import url( stilehome.css );
.none {
DISPLAY: none
}
</STYLE>
</HEAD>
<BODY>
<div id = intestazione>
TITOLO
</div>
<DIV id=box>
<DIV id=sinistra>
pippo
pappo
peppo
<DIV class=loghi>
OPPA
</DIV>
pippo
oppa
</DIV>
<DIV id=centro>
1
2
3
4
</DIV>
</DIV>
</BODY>
</HTML>
(I colori non sono quelli definitivi!!!!)
grazie

)
Oppa
Rispondi quotando