Salve a tutti.
Sto progettando un sito web con CSS+xhtml
Paradossalmente la visualizzazione in html viene perfetta, mentre se visualizzo lo stesso su Firefox non viene visualizzato affatto con i parametri da me richiesti.
Il CSS in questione è questo:
body {
background: #66FFFF repeat;
font-family: Verdana, Arial,"Helvetica";
font-size: 12px;
color: #333;
}
/*GENERALE*/
img {border:0;display:block}
/*GENERALE END*/
#main_container {
margin: auto;
width: 777px;
}
/*HEADER*/
#header {
margin:auto;
width: 777px;
}
#logo {
margin-top: 21px;
width: 277px;
height: 218px;
float: left;
background:#fff;
}
#logo img {
vertical-align: middle;
}
#side_head {
float: right;
margin-top: 21px;
}
/*HEADER END*/
#down_head
{
margin:auto;
width: 777px;
background-color:#06799F;
}
#menu03o{
width: 100%;
font: 100% Arial, Helvetica, sans-serif;
}
#menu03o ul{
margin: 0;
padding-left: 0;
list-style: none;
}
#menu03o li{
font-size: 1.1em;
display: inline;
margin: 0;
padding: 0;
}
#menu03o a:link, #menu03o a:visited{
float:left;
background: 0 0 repeat;
background-color: #06799F;
color: white;
margin: 0em;
padding: 7px 12px 10px 12px;
font-weight: bold;
text-decoration: none;
border-top: 4px solid #06799F;
}
#menu03o a:hover, #menu03o a:focus, #menu03o a:active{
color: #66FFFF;
background: 0 0 repeat;
background-color: #06799F;
border-top: 4px solid #66FFFF;
}
/*PARTE TESTO*/
#container {
margin:auto;
width: 777px;
background: #fff url("images/backcontainer.gif") repeat
}
#fotopres
{
float:left;
width: 481px;
}
#testo
{width: 296px;
height: 359px;
float:right;
}
#testo p, #fotopres p
{
padding: 5px 10px;
text-align:justify;
line-height: 18px;
}
/*bordi arrotondati*/
b.rtop, b.rbottom{display: block; background: #66FFFF repeat }
b.rtop b, b.rbottom b{display: block; height: 1px; overflow: hidden; background: #06799F}
b.r1{margin: 0 5px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.r5{margin: 0 1px}
b.rtop b.r4, b.rbottom b.r4{margin: 0 1px; height: 10px}
.testo2{margin: 0 1px; background: #06799F; color:#FFFFFF; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; text-align:center}
/* fine bordi arrotondati*/
#fotopres img, #testo img
{
border-color: white;
border-style:dashed;
border-width:2px;
display:block;
}
Innanzitutto perchè succede questo? lo chiedo perchè ho un altro sito al quale son riuscito a dare un effetto con firefox e chroome ma su IE questo effetto non esce.