Jump to content

[SOLVED] Make text under image selectable...


smartboyathome
 Share

Recommended Posts

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!

Edited by Smartboy
Link to comment
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...