# Need help adding drop shadow around .swf in html

**URL:** <https://forum.kirupa.com/t/need-help-adding-drop-shadow-around-swf-in-html/251136>\
**Category:** web dev\
**Created:** [February 5, 2008, 6:32pm UTC](https://forum.kirupa.com/t/need-help-adding-drop-shadow-around-swf-in-html/251136 "2008-02-05T18:32:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ottomobile](https://avatars.discourse-cdn.com/v4/letter/o/bc8723/32.png) [@ottomobile](https://forum.kirupa.com/u/ottomobile)\
**Post date:** [February 5, 2008, 6:32pm UTC](https://forum.kirupa.com/t/need-help-adding-drop-shadow-around-swf-in-html/251136/1 "2008-02-05T18:32:30Z")

</div>

Hi-

I have a .swf that is centered horizontally and vertically with divs that I want to add a drop shadow to with a repeating textured background.

I have placed transparent .png’s where I want the shadows (that works, sort of), but due to the centering, if someone were to squeeze the window below the width of the swf, it returns the png to the next line causing all kinds of craziness.

Please help.  
Thanks,  
-otto
