Ciao a tutti, ho un problema come potete vedere in questa anteprima:
Il pezzo di container di destra in altro è più uscito rispetto al pezzo di menù sinistro..perchè?
Di norma dovrebbe essere max 722px!
Ecco il css:
Codice PHP:
/* Elementi Standard */
* {
margin: 0;
padding: 0;
}
a {
color: #36C;
}
a:hover {
color: #06F;
}
body {
background: #E7E7E7;
color: #444;
font: normal 62.5% "Lucida Sans Unicode",sans-serif;
margin: 0;
}
input {
color: #555;
font: normal 1.1em "Lucida Sans Unicode",sans-serif;
}
p,cite,code,ul {
font-size: 1.2em;
padding-bottom: 1.2em;
}
h1 {
font-size: 1.4em;
margin-bottom: 4px;
}
cite {
background: url(img/quote.gif) no-repeat;
color: #666;
display: block;
font: normal 1.3em "Lucida Sans Unicode",serif;
padding-left: 28px;
}
h1,h2,h3 {
color: #367EA6;
padding-top: 6px;
}
/* Altro */
.clearer {
clear: both;
}
/* Struttura */
.container {
background: #FAFAFA;
margin: 0 auto;
padding-bottom: 6px;
width: 767px;
border:1px solid #A1A1A1;
}
.header {
background: url(img/logo.png) no-repeat;
width: 772px;
margin-bottom: 1px;
}
/* Titolo */
.title h1 {
color: #FFF;
font: normal 3em Verdana,sans-serif;
height: 150px;
line-height: 150px;
margin-bottom: 8px;
text-align: center;
}
/* Navigazione */
.navigation {
margin-bottom: 4px;
}
.navigation a {
background-color: #4A91C3;
color: #FFF;
float: left;
font: bold 1.2em "Trebuchet MS",sans-serif;
padding: 8px 0;
width: 15%;
border-right: 1px solid #FFF;
text-align: center;
text-decoration: none;
}
.navigation a:hover {
background-color: #000;
color: #FFF;
}
/* Principale */
.main {
clear: both;
padding: 8px 18px;
}
/* Principale sinistro */
.sidenav h1,.sidenav ul {
padding-left: 12px;
}
.sidenav {
background: #fff;
border: 1px solid #E5E5E5;
float: left;
width: 195px;
}
.sidenav h1 {
color: #666;
font-size: 1.2em;
height: 20px;
margin-top: 1.2em;
}
.sidenav ul {
margin: 0;
padding: 0;
}
.sidenav li {
list-style:none;
border-top: none;
margin: 0px;
}
.sidenav li a {
/**color: #777;**/
color:#4283B9;
display: block;
font-size: 0.9em;
padding: 3px 6px 3px 14px;
text-decoration: none;
}
.sidenav li a:hover {
color: #111;
text-decoration: underline;
}
/* Container */
.content {
float: right;
width: 515px;
}
.content .item {
padding: 6px 12px;
border: 1px solid #EEE;
background: #FFF;
margin-bottom: 8px;
}
.content .descr {
color: #333;
margin-bottom: 6px;
}
.content li {
list-style:circle ;
margin-left: 18px;
}
/* search form */
form {
padding: 0 0 6px 8px;
}
.styled {
border: 1px solid #DDD;
padding: 4px;
}
.button {
background: url(img/search.gif) no-repeat left bottom;
border: none;
height: 27px;
width: 27px;
}
/* Footer */
.footer {
background: #FFF;
border: 1px solid #EEE;
color: #666;
font-size: 1.1em;
margin: 0 auto;
text-align: center;
padding: 6px;
width: 715px;
}
.footer a {
color: #36C;
text-decoration: none;
}
.footer a:hover {
color: #06F;
text-decoration: underline;
}
Grazie 1000...ciao Davide! ^^