Hi all
I followed a youtube tutorial and have succesfully created an image map on its own. However what im finding difficult to do at the momment is to be able to position the imagemap in the header as that is where i would like the imagemap to appear. Not sure what the best way is to integrate the code. the website has been built within a container tag, i have tried replacing the 'imagemap' word with 'header' but still no joy.
This is my image map code for the css
#imagemap ul { list-style-type: none; margin: 0px; padding: 0px; height: 163px; width: 1023px; position: relative; } #imagemap li { border: medium solid hidden; } li#b { position: absolute; left: 92px; top: 47px; width: 174px; height: 84px; } li#g { position: absolute; left: 395px; top: 55px; width: 135px; height: 56px; } li#c { position: absolute; left: 735px; top: 53px; width: 142px; height: 60px; } li#b a { display: block; height: 84px; width: 174px; } li a em { display: none; } My html looks like this <div id="imagemap"> <ul> <li id="b"><a href="http://www.bbc.co.uk/"><em>bbc site</em></a></li> <li id="g"><a href="www.guardian.co.uk"><em>guardian site</em></a></li> <li id="c"><a href="www.cnn.com"><em>cnn site</em></a></li> </ul> </div>
This is a link to the site where i would like to integrate the code
http://www.webster12345.zxq.net/home.html
put the image map div inside
put the image map div inside your header div, and see what happens. if you need further help, plz update your link with the image map code in place. also, get rid of all those nasty empty paragraph tags, use css to create the layout.
Hi many thanks, i do have it
Hi
many thanks, i do have it working.
Cheers
