First add this to your css so visitors will know it is a link
Code:
#example {
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 600px;
height: 290px;
background-image: url('images/header.png');
background-repeat: no-repeat;
background-position: center center;
cursor: pointer;
}
then in your html :
HTML Code:
<div id="example" onclick="window.open('http://www.link.com')"></div>
Last edited by DayliDesign; 05-30-2011 at 12:23 AM..
|