Ho questo codice css.
Il problema è che viene fuori uno spazio tra i div "title" e "box", mentre invece dovrebbero essere attaccati. Sapreste dirmi quale sia il problema?
Codice:
html body {font-family:Arial,Verdana,Geneva;
background-color: #111A66;
text-align: center;
}
.title {float:right;
font-size:1cm;
width:58%;
color:white;
border-radius:20px 20px 0px 0px;
-moz-border-radius:20px 20px 0px 0px;
-webkit-border-radius:20px 20px 0px 0px;
background-image: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0, #354CDE),
color-stop(1, #181D2B)
);
background-image: -o-linear-gradient(bottom, #354CDE 0%, #181D2B 100%);
background-image: -moz-linear-gradient(bottom, #354CDE 0%, #181D2B 100%);
background-image: -webkit-linear-gradient(bottom, #354CDE 0%, #181D2B 100%);
background-image: -ms-linear-gradient(bottom, #354CDE 0%, #181D2B 100%);
background-image: linear-gradient(to bottom, #354CDE 0%, #181D2B 100%);
}
.box {
width: 58%;
float: right;
background-color:white;
border-radius:0px 0px 20px 20px;
-moz-border-radius:0px 0px 20px 20px;
-webkit-border-radius:0px 0px 20px 20px;
border:solid black;
border-top-width:0px;
border-right-width:2px;
border-bottom-width:0px;
border-left-width:2px;
}
Ultima modifica: