I want to place links over a background image (set in CSS) and I want to ask is there an alternative to the map tag ? an HTML5 or elegant JS solution ?
Note: the image itself is not a map. I just want to place 5 links on specific positions
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would NEVER recommend using the map tag. You lose all SEO value of doing so. I recommend you use a similar syntax:
and in the CSS use
The links top and left will determine it’s location on the background. Ensure the height and width is set, and that the display block and text-indent is set to remove the text and format it correctly.