This tutorial will explain how to use image maps:
http://www.w3schools.com/tags/tryit....ryhtml_areamap
Or if you did want to lynxus said i.e place the text within sections/p elements and then position them with css. Depending on whether you wanted to support earlier versions of IE you could use something like:
#rungsContainer {
width: insert width of image;
height: insert height of image;
background: url(whatEverYourBackGroundImageIsCalled.jpg);
}
section {
width: insert width of rungs;
height: insert height of rungs;
padding: 10px 0 10px 0;
}
section p:nth-child(odd){
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
transform: rotate(-45deg);
position: absolute;
}
section p:nth-child(even){
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
}
Last edited by Mug; 11-04-2010 at 07:53 AM..
|