Phaaze
01-25-2007, 10:33 AM
I'm working on a php/AJAX script thats pulls information into the current page into a div with id="results". I have the following CSS:
#results {
padding: 5px;
}
div#results div {
padding: 5px;
}
div#results div span {
float: right;
font-weight: normal;
}
div#results div:hover {
background-color: #ededed;
}
My problem is that the very last div I have within the results div is not supposed to have a hover effect. Is there a way I can easily do this w/o having to make the code twice as long?
#results {
padding: 5px;
}
div#results div {
padding: 5px;
}
div#results div span {
float: right;
font-weight: normal;
}
div#results div:hover {
background-color: #ededed;
}
My problem is that the very last div I have within the results div is not supposed to have a hover effect. Is there a way I can easily do this w/o having to make the code twice as long?