I am trying to link an image, in html looks like this:
<a href="#" class="image"><img src="logo.png"></a>
and in CSS I have:
.baraMeniu a.image{
display:block;
}
Yeah... display:block is just an awkward try to make the image clickable. I am begginer so please take it step by step.
Edit:I forgot to say that my image has the following properties:
.baraMeniu img{
width:100%;
height:40em;
position:absolute;
z-index:0;/*the image*/
}
.baraMeniu a.image{
/*the clickable image*/
}
.baraMeniu .st{
font-size:2em;
padding-top:0.15em;
padding-left:0.7em;
padding-right:0.5em;
color:orange;
font-family:'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
display:inline;
text-decoration:none;
float:left;
}
.baraMeniu .dr{
font-size:2em;
padding-top:0.15em;
padding-left:0.7em;
padding-right:0.5em;
color:orange;
font-family:'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
display:inline;
text-decoration:none;
float:right;
}
.baraMeniu #ind{
text-indent:20px;
}