codingmasterRS Posted June 11, 2011 Share Posted June 11, 2011 Hi Guys, last question (for now) I have images <img> and I want to make use of jQuery addClass so that a little green box appears on the bottom left corner, now I want CSS to generate the little green box and as I said I know how to use addClass however ..... I cannot get this class to overlay the image properly. Cheers in advance. Quote Link to comment https://forums.phpfreaks.com/topic/239033-overlay/ Share on other sites More sharing options...
kenrbnsn Posted June 11, 2011 Share Posted June 11, 2011 Why are you posting in the PHP section. This should be in the Javascript section. Moving this there now. Ken Quote Link to comment https://forums.phpfreaks.com/topic/239033-overlay/#findComment-1228211 Share on other sites More sharing options...
codingmasterRS Posted June 11, 2011 Author Share Posted June 11, 2011 sorry, anyway this is the code I have #test .online { width: 3.75px; height: 3.75px; overflow: hidden; z-index: 500; background: #00FF00; } <img src="image.png" class="online"> now I just need to know how to get this overlay working Quote Link to comment https://forums.phpfreaks.com/topic/239033-overlay/#findComment-1228213 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.