PDA

View Full Version : Can I add a Drop-Shadow to a Div ?


Chapo
03-01-2009, 06:29 AM
Just want to know if i can create a Drop-Shadow to a Div in Dw. That will make my life easier, so i don't have to go back to Photoshop or Flash and do it all over again just for one effect.

Ricky55
03-01-2009, 09:54 AM
No it can't be done directly with Dreamweaver but it can with javascript. Not used this personally but it looks easy to implement, but as with all solutions of this nature it does have its limitations.

http://www.tastypopsicle.com/dropshadow/

Or you could do it yourself with images by offsetting the Div. A list apart as a great article on doing this.

http://www.alistapart.com/articles/cssdropshadows/