smartboyathome Posted March 5, 2011 Share Posted March 5, 2011 The site I'm working on: http://smartboy.homelinux.net:5000/As you can see, I have an image in the bottom left hand corner, which I had to position absolutely in order to get the effect I wanted. The problem is that text on the very bottom in the transparent part of the image isn't selectable. How do I get it so i can select it?Thanks to anyone who helps! Link to comment Share on other sites More sharing options...
dsonesuk Posted March 5, 2011 Share Posted March 5, 2011 give #main a position: relative; and z-index:10;(increase if required) which will place this element and content above the image.#main {color:white;font-family:'Sans';font-size:12px;padding-left:120px;padding-top:70px;position:relative; /* added by dsonesuk*/text-align:justify;z-index:10; /* added by dsonesuk*/} Link to comment Share on other sites More sharing options...
smartboyathome Posted March 5, 2011 Author Share Posted March 5, 2011 Thanks dsonesuk, that worked and taught me a bit about position: relative. Credit given where due in the CSS, and thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.