Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible to have 2 spans or divs on top of(over) the image. My intention is to have 2 navigation button(most recommended - images) on each end of the image? is this possible with HTML and CSS?
Posted

This is possible, but only with a fixed or absolute position.
 
Share this answer
 
Of course it is.

You must set you navigation divs or spans 's z-index property to a value higher that z-index of your image. next, you can position them wherever you need using css position and top and left properties.

-------------------
Regards

H.Maadani
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900