Ciao a tutti, non riesco a capire una cosa:
questo è il mio css:
codice:
h1 {
font-size: 16px;
font-weight: bold;
color: #0066FF;
text-transform: capitalize;
text-indent: 5px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
body {
background-color: #3399FF;
}
h2 {
color: #FF0000;
font-size: 14px;
font-weight: bolder;
text-indent: 9px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
h3 {
font-size: 12px;
font-weight: bold;
color: #6633FF;
text-indent: 13px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.paragrafo {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
background-color: #C6E2FF;
display: block;
padding: 10pt 10pt 10pt 60pt;
margin-right: 10pt;
margin-left: 10pt;
border: thin solid #CCCCCC;
background-image: url(img/paragrafi.jpg);
background-repeat: no-repeat;
background-position: left top;
}
.sopra {
background-color: #FFFFFF;
border-top: thin none #CCCCCC;
border-right: thin solid #CCCCCC;
border-bottom: thin solid #CCCCCC;
border-left: thin solid #CCCCCC;
}
a:link {
background-color: #00CCFF;
}
a:visited {
background-color: #33CCFF;
color: #0000FF;
}
a:hover {
color: #FFFFFF;
text-decoration: none;
background-color: #FF0000;
}
.quota {
background-color: #33CC66;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000000;
display: block;
border: thin dashed #0000FF;
margin-right: 20pt;
margin-left: 20pt;
padding: 10px;
}
.timer {
background-color: #33CC66;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000000;
display: block;
border: thin dashed #0000FF;
margin-right: 20pt;
margin-left: 20pt;
padding: 10px;
background-image: url(img/timer.jpg);
background-repeat: no-repeat;
background-position: left top;
}
p, div {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
background-color: #C6E2FF;
display: block;
}
.tabellapubblicita {
background-image: none;
background-position: center;
border: thin dashed #FF9900;
background-attachment: scroll;
background-repeat: no-repeat;
visibility: visible;
margin: 0px;
padding: 0px;
background-color: #C6E2FF;
}
.paragrafonoimg {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
background-color: #C6E2FF;
display: block;
border: thin solid #CCCCCC;
margin-right: 10px;
margin-left: 10px;
padding: 10px;
}
.tabelladocumenti {
border: thin dashed #009900;
background-color: #FFFFFF;
color: #000000;
}
.medio {
font-size: 12px;
color: #000000;
margin: 1px;
}
th {
font-weight: bolder;
text-transform: capitalize;
color: #FFFFFF;
background-color: #FF0000;
}
a.medio:hover {
background-color: C6E2FF;
color: #000000;
text-decoration: none;
}
a.medio:link {
color: #000000;
background-color: C6E2FF;
text-decoration: none;
}
a.medio:visited {
color: #000000;
background-color: C6E2FF;
text-decoration: none;
}
a.medio:active {
color: #000000;
background-color: C6E2FF;
text-decoration: none;
}
.menu {
background-color: #00FF00;
}
textarea {
font-size: 10px;
color: #0000FF;
font-family: Verdana, Arial, Helvetica, sans-serif;
border: thin dotted #CCCCCC;
}
input {
font-size: 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:active {
background-color: #00CCFF;
}
.sfondobianco {
background: #FFFFFF;
}
questo è il css di lightbox2:
codice:
#lightbox{
position: absolute;
top: 40px;
left: 0;
width: 100%;
z-index: 100;
text-align: center;
line-height: 0;
}
#lightbox a img{ border: none; }
#outerImageContainer{
position: relative;
background-color: #fff;
width: 250px;
height: 250px;
margin: 0 auto;
}
#imageContainer{
padding: 10px;
}
#loading{
position: absolute;
top: 40%;
left: 0%;
height: 25%;
width: 100%;
text-align: center;
line-height: 0;
}
#hoverNav{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 10;
}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}
#prevLink, #nextLink{
width: 49%;
height: 100%;
background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
display: block;
}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }
#imageDataContainer{
font: 10px Verdana, Helvetica, sans-serif;
background-color: #fff;
margin: 0 auto;
line-height: 1.4em;
}
#imageData{
padding:0 10px;
}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
#imageData #caption{ font-weight: bold; }
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; }
#overlay{
position: absolute;
top: 0;
left: 0;
z-index: 90;
width: 100%;
height: 500px;
background-color: #000;
filter:alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
* html>body .clearfix {
display: inline-block;
width: 100%;
}
* html .clearfix {
/* Hides from IE-mac \*/
height: 1%;
/* End hide from IE-mac */
}
A quanto pare i 2 css assieme sono incompatibili. Perchè ho provato lo script con entrambi e non funziona...ho tolto il primo e tutto funziona. Il fatto è che però il primo css è quello che mi da lo stile di tutto il sito. Dove posso metter le mani per far si che tutto funzioni bene?
Vi prego help me