rashmi_k28 Posted September 29, 2008 Share Posted September 29, 2008 <style> #bgimage { background-image: url(./images/gridmon.jpg); background-height:1000px; background-width:700px; background-repeat: no-repeat; } </style> <BODY leftMargin=0 topMargin=0 id="bgimage"> How can I add usemap link as below. Where to assign the <map name="Map"> <area shape="rect" coords="570,195,786,226" href="#"> </map> Quote Link to comment Share on other sites More sharing options...
sKunKbad Posted September 29, 2008 Share Posted September 29, 2008 You really don't want to use an image map. It's not proper web standards type coding. Just use multiple divs with links on top of a main div with background picture. Quote Link to comment Share on other sites More sharing options...
rashmi_k28 Posted September 30, 2008 Author Share Posted September 30, 2008 In the background image there is a text. I have to link that text to another page Quote Link to comment Share on other sites More sharing options...
xtopolis Posted September 30, 2008 Share Posted September 30, 2008 I'm not sure how you'd apply it in this context. Try looking here: http://www.cssplay.co.uk/menu/imap.html Quote Link to comment Share on other sites More sharing options...
svivian Posted September 30, 2008 Share Posted September 30, 2008 How can I add usemap link as below. Where to assign the <map name="Map"> <area shape="rect" coords="570,195,786,226" href="#"> </map> The 'usemap' attribute goes on an image tag, it can't just go on any tag. So instead of using a background image for a page, put the image inline with something like: <img src="..." alt="..." usemap="Map"> You really don't want to use an image map. It's not proper web standards type coding. Uh, yes it is. It's perfectly valid, who told you it isn't? Quote Link to comment Share on other sites More sharing options...
haku Posted October 1, 2008 Share Posted October 1, 2008 It's fine for web standards, but I believe it lacks in accessibility. I've heard that screenreaders can't process the links in image maps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.