html - Clickable logo - Div as link -


in header of website have image. want image become link. display image background div element:

.myheader {     font-weight: bolder;   text-transform: uppercase;    text-align: justify;   background-image: url(images/back.png);   background-repeat: no-repeat;   background-position: top center;   margin: auto;     width: 700px;   height: 100px;  } 

i want whole div clickable link homepage.

update okay, looking @ stack overflow firebug can see logo not background rather <img> element. seems option.

divs cannot made links, structural elements,

the way go creating hyperlink element a inside logo div , assigning class myclass in css give following:

a.myclass { width:700px; height:100px; display:block; } 

this should give impression div clickable making a element same width , height logo div


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -