Instead of using Hotspot to select specific areas in an image, CSS can be another choice by using function ID. (e.g #menu). text-indent: -900%;: this helps to hide text that is used to apply a link on the specific area. without this function with approximate value set, text will appear. Below is the example of CSS code:

Before the above CSS is applied, some codes must be added in the HTML page (see below

Take note to apply id='menu' so that CSS is able to function
No comments:
Post a Comment