Insert an image on top of a background image in a div tag
-
Hello!
I have a navigation bar in the header.
The background of the navigation bar is a graphic image. The links that go in the navigation bar “HOME (a small diamond image) CONTACT US” have special fonts and designs done in photoshop. I want to insert the above as an images in my navigation bar and then map the hotspots. Here is the code<div id=”topnav”><–topnav has a background graphic image!–>
<img src=”images/homecontact.png”alt=”HomeContact” width=”120″ height=”9″ border=”0″ usemap=”#Map” class=”topnavigation” />
<map name=”Map” id=”Map”>
<area shape=”rect” coords=”0,0,30,12″ href=”#” />
<area shape=”rect” coords=”50,0,142,12″ href=”#” />
</map>
</div>The result just gives me my navigation bar with the background image.
It does not give me the links image on top, but just a small box with nothing.
- The topic ‘Insert an image on top of a background image in a div tag’ is closed to new replies.