This may seem a basic question but my is not currently working. I am not sure why this is happening, it may be the javascript, or that I have written the page in PHP or that I am using z-index, But I cannot solve it.
You can see the problem here:
http://www.maxrichardson.co.uk/home.php
The issue is on the yellow ‘CV button’ on the right:
The code I am using is:
#CV-Download {
position: fixed;
margin: 50px 0 10px 10px;
z-index: 888;
right:0;
cursor:pointer;
width: 75px;
height: 75px;
background:url(images/cv.png);
}
#CV-Download:hover {
background:url(images/cv-hover.png);
z-index: 889;
}
<div id="CV-Download">
<a href"Max Richardson CV" onclick="_gaq.push(['_trackEvent', 'Side CV Button']);" title="My CV" rel="0" class="newWindow" >CV</a>
</div>
You’ve missed the equals after the
hrefShould be