Creating an overlay in CSS?

castroox

New Member
I have div that I display dynamically when certain conditions arise.When I display the div, how can I create the effect of the background dimming and my div appearing to be prominent? much like a number of AJAX lightboxes or popups. (Thickbox, ColorBox, PrettyPhoto, etc)I don;t quite get how they do it. I have everything else working in my own custom code except that piece. Can anyone help me learn how?
 
Top