I have the following css
#custom-module .moduletable:nth-child(2) h3 {
background: url(../images/icon-news.jpg)no-repeat center left;
position: relative;
}
#custom-module .moduletable:nth-child(2) h3:after{
background: url(../images/icon-all-news.jpg) no-repeat right center;
content: url(www.google.com);
position: absolute;
width: 22px;
height: 9px;
top: 10px;
right: 0;
}
How can I make h3:after background
clickable?
Please note I can't wrap the h3 tag
with a tag
If its not possible, how can I assign this a href using jquery?
` in a link? I just created a new element to reproduce what you were trying to do with the :after in CSS
– omma2289 Sep 08 '13 at 09:17