okay guys - heres what my css code looks like, my stylesheet rather.
the curved white panes are .maincontent - inside of which is something called #maintext.
positioned accordingly, is a transition css3 image which is called #cf.
in services - those three boxes are called 'services1, services2, and services3'...
here goes. (#cf1) is the id for the image holder for the contacts.htm, #cf is for main. ignore that for now. unless its part of hte problem lol
body
{
/* IE10 Consumer Preview */
background-image: -ms-linear-gradient(left, #FFFFFF 0%, #00FFFF 200%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(left, #FFFFFF 0%, #00FFFF 200%);
/* Opera */
background-image: -o-linear-gradient(left, #FFFFFF 0%, #00FFFF 200%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #FFFFFF), color-stop(2, #00FFFF));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(left, #FFFFFF 0%, #00FFFF 200%);
/* W3C Markup, IE10 Release Preview */
background-image: linear-gradient(to right, #FFFFFF 0%, #00FFFF 200%);
font-family: Helvetica, Times, Geneva;
margin: 0;
padding: 0;
border: 0;
font-size:18px;
font-style;plain;
}
#page { width:100%; }
P
{
font-family:Moonlight, Clarendon, Comic-Sans, Comic Sans, Palatino;
font-size:12pt;
font-style:bold;
color:white;
text-indent:72px;
}
#div-Logo {
position:absolute;
}
#CallNow {
position:absolute;
left:75%;
top:2.5%
}
#cssmenu
{
position:absolute;
top:180px;
width:180px;
list-style:none;
margin:0;
padding:1px;
background-color:#FFFFFF;
}
#cssmenu ul
{
margin:0px;
padding:0px;
list-style:none;
}
#cssmenu li a
{
display:block;
height:25px;
margin-top:1px;
padding-left:15px;
background-color:white;
border-left:10px solid cyan;
font-family:arial;
font-size:12px;
text-decoration:none;
color:#909090;
line-height:25px;
}
#cssmenu li a:hover
{
background-color:cyan;
border-left:10px solid #CCCCCC;
color:#068481;
}
#csmenu a.first
{
margin-top:0;
}
.mainContent
{
padding: 8px 8px 8px 8px;
top:40%;
left:40%;
width:40%;
background-color:white;
-moz-border-radius: 15px;
border-radius: 15px;
}
#mainText
{
color:#909090;
font-size:12px;
width:auto;
height:auto;
}
#services1
{
position:absolute;
padding: 10px 10px 10px 10px;
top:176px;
left:220px;
height:200px;
width:220px;
background-color:white;
color:grey;
font-size:16;
font-weight:bold;
text-align:center;
text-shadow: 1px 1px 1px #909090;
-moz-border-radius: 15px;
border-radius: 15px;
border:2px;2px;2px;2px;
border-style:solid;
border-color:#909090;
}
#services2
{
position:absolute;
padding: 10px 10px 10px 10px;
top:176px;
left:480px;
height:200px;
width:220px;
background-color:white;
color:grey;
font-size:16;
font-weight:bold;
text-align:center;
text-shadow: 1px 1px 1px #909090;
-moz-border-radius: 15px;
border-radius: 15px;
border:2px;2px;2px;2px;
border-style:solid;
border-color:#909090;
}
#services3
{
position:absolute;
padding: 10px 10px 10px 10px;
top:176px;
left:740px;
height:200px;
width:220px;
background-color:white;
color:grey;
font-size:16;
font-weight:bold;
text-align:center;
text-shadow: 1px 1px 1px #909090;
-moz-border-radius: 15px;
border-radius: 15px;
border:2px;2px;2px;2px;
border-style:solid;
border-color:#909090;
}
#GasInfo
{
position:absolute;
top:395px;
left:220px;
height:400px;
width:480px;
background-color:white;
color:#909090;
font-size:14;
margin-top:5px;
margin-left:5px;
margin-right:5px;
margin-bottom:5px;
-moz-border-radius: 15px;
border-radius: 15px;
border:1px;1px;1px;1px;
border-style:solid;
border-color:#909090;
padding:10px;10px;10px;10px;
}
#PlumbInfo
{
position:absolute;
top:395px;
left:480px;
height:400px;
width:480px;
background-color:white;
color:#909090;
font-size:14;
-moz-border-radius: 15px;
border-radius: 15px;
border:2px;2px;2px;2px;
border-style:solid;
border-color:#909090;
}
#ElectricInfo
{
position:absolute;
top:395px;
right:40px;
height:400px;
width:480px;
background-color:white;
color:#909090;
font-size:14;
margin-top:5px;
margin-left:5px;
margin-right:5px;
margin-bottom:5px;
-moz-border-radius: 15px;
border-radius: 15px;
border:2px;2px;2px;2px;
border-style:solid;
border-color:#909090;
padding:10px;10px;10px;10px;
}
#cf {
position:absolute;
height:330px;
width:310px;
}
#cf img {
position:absolute;
top:-180px;
left:400px;
// left:0;
opacity: 1;
-webkit-transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-o-transition: opacity 1s ease-in-out;
-ms-transition: opacity 1s ease-in-out;
transition: opacity 1s ease-in-out;
-moz-border-radius: 15px;
border-radius: 15px;
}
@keyframes cfFadeInOut {
0% {
opacity:1;
}
25% {
opacity:1;
}
50% {
opacity:0;
}
75% {
opacity:0;
}
100% {
opacity:1;
}
}
#cf img.first {
animation-name: cfFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-direction: alternate;
}
#cf img.second {
animation-name: cfFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-direction: alternate;
}
#cf img.third {
animation-name: cfFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-direction: alternate;
}
#cf img.fourth {
animation-name: cfFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-direction: alternate;
}
#cf img:nth-of-type(1) {
animation-delay: 6s;
}
#cf img:nth-of-type(2) {
animation-delay: 4s;
}
#cf img:nth-of-type(3) {
animation-delay: 2s;
}
#cf img:nth-of-type(4) {
animation-delay: 0;
}
#cf1 {
position:absolute;
height:330px;
width:310px;
}
#cf1 img {
position:absolute;
top:20px;
left:420px;
// left:0;
opacity: 1;
-webkit-transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-o-transition: opacity 1s ease-in-out;
-ms-transition: opacity 1s ease-in-out;
transition: opacity 1s ease-in-out;
-moz-border-radius: 15px;
border-radius: 15px;
}
@keyframes cfFadeInOut {
0% {
opacity:1;
}
25% {
opacity:1;
}
50% {
opacity:0;
}
75% {
opacity:0;
}
100% {
opacity:1;
}
}
#cf1 img.first {
animation-name: cfFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-direction: alternate;
}
#cf1 img.second {
animation-name: cfFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-direction: alternate;
}
#cf1 img.third {
animation-name: cfFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-direction: alternate;
}
#cf1 img.fourth {
animation-name: cfFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-direction: alternate;
}
#cf1 img:nth-of-type(1) {
animation-delay: 6s;
}
#cf1 img:nth-of-type(2) {
animation-delay: 4s;
}
#cf1 img:nth-of-type(3) {
animation-delay: 2s;
}
#cf1 img:nth-of-type(4) {
animation-delay: 0;
}