Can I assume the humble old-fashioned image map (pure HTML, no CSS) won't work?
Thanks for asking.
Well, I have three (Bootstrap) tabs where a badge appears. Perfect to have CSS image background so no HTML gets repeated across the tabs.
I wish if I could have a link only once, but for now, it looks to me that I have to have a link in each tab, with CSS properties that will position it and get an image in its background.
And actually I made something that looks promising:
HTML:
<a href="#" class="link-image-back">Link</a>
.link-image-back{background:url("../images/image.png") no-repeat;display:block;height:130px;width:130px;position:absolute;top:45%;left:75%}
I had to add this for the (parent) div where the link is:
.div{position:relative}
Plus, I added this to hide the text, but I guess I could use a simple space as well ( ).
a..link-image-back{line-height:0;font-size:0;color:transparent;}
It looks like this gives me a control over positioning an image while link sticks to it. It is a responsive design and changing the browser window shape does not affect it much, it still look good.
Mobile is a different story, I'll see what to do there.
Anyhow, do you see any trouble here with such code?
Thanks