Let’s say if I have wrapper div which includes some links and images, is there any way I can deactivate it at once with CSS only?
After review of answers:
I dropped the idea that can make it with CSS only. jQuery blockUI plug in works like charm.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
if you are going to use jQuery, you can easily accomplish this with the blockUI plugin. …or to answer your question with CSS, you’ll have to absolutely position the div over the content you wish to block. just make sure the absolutely positioned div comes after the content to be blocked for z-indexing purposes.
sorry for all the inline css. you’ll have to make some nice classes. Also, this has only been tested in firefox and IE7.