i want to have an overlay displayed over my div on mouseover…
my code is -
<div class="divCompanyLogo"><a href="#"><img src="../images/folder/logo.jpg" class="companyLogo" height="105" width="140"></a><div class="titleHolder">title of image</div></div>
if i simply set a class for .divCompanyLogo:hover and change colours this only changes the main div it doesnt seem to overlay the image or internal div, they are unchanged…
how would i create this effect where everything in the div is changing colour on mouseover?
You could change the background of the containing div and lower the opacity of the img. While this is in fact an underlay, the effect may resemble a colour overlay.