riz-man
12-30-2008, 01:04 PM
Hi there,
I ran my website through http://analyze.websiteoptimization.com and it suggested I could compress my CSS stylesheet. It then showed me a compressed version of my stylesheet. The compressed version was fantastic except for the following piece of code where it grouped together several classes of "hover" that had the same attributes.
Only the first hover works (i.e. a.more1:hover). Both IE and FF fail to notice the other classes (i.e. a.more2:hover,a.more3:hover,a.more6:hover). As a result I have had to ungroup them.
However, is there something wrong with the suggestion below that I cannot see?
a.more1:hover,a.more2:hover,a.more3:hover,a.more6:hover {
font-family:Rondalo, Arial;
font-size:18px;
line-height:18px;
color:#fff;
text-decoration:none;
text-align:center;
width:16%;
float:left;
background-color:#C1C0BC;
height:30px;
padding-top:10px;
border-right:1px #FFF solid
}
Thanks for your time
Riz
I ran my website through http://analyze.websiteoptimization.com and it suggested I could compress my CSS stylesheet. It then showed me a compressed version of my stylesheet. The compressed version was fantastic except for the following piece of code where it grouped together several classes of "hover" that had the same attributes.
Only the first hover works (i.e. a.more1:hover). Both IE and FF fail to notice the other classes (i.e. a.more2:hover,a.more3:hover,a.more6:hover). As a result I have had to ungroup them.
However, is there something wrong with the suggestion below that I cannot see?
a.more1:hover,a.more2:hover,a.more3:hover,a.more6:hover {
font-family:Rondalo, Arial;
font-size:18px;
line-height:18px;
color:#fff;
text-decoration:none;
text-align:center;
width:16%;
float:left;
background-color:#C1C0BC;
height:30px;
padding-top:10px;
border-right:1px #FFF solid
}
Thanks for your time
Riz