How do I get that cool drop shadow effect outside the div border?There's no quickie method for it, which method you should choose depends on several factors:
- Does it need to show in IE, or can it just downgrade gracefully?
- Is the div of indeterminant length (ie, your main content block), or is it something like a menu where an arbitrary maximum height may be assumed?
- Are you a purist who will object to a wrapper div and a couple positioned elements?Check A List Apart (<!-- m --><a class="postlink" href="http://alistapart.com">http://alistapart.com</a><!-- m -->) for a couple of articles on drop shadows.
- Does it need to show in IE, or can it just downgrade gracefully?
- Is the div of indeterminant length (ie, your main content block), or is it something like a menu where an arbitrary maximum height may be assumed?
- Are you a purist who will object to a wrapper div and a couple positioned elements?Check A List Apart (<!-- m --><a class="postlink" href="http://alistapart.com">http://alistapart.com</a><!-- m -->) for a couple of articles on drop shadows.