Link to home
Start Free TrialLog in
Avatar of lisacowan
lisacowan

asked on

Using Flash background behind HTML

Hi,

I'm developing a site that uses a Flash background behind some HTML drop down menus. I used this technique (pulled from another post on this site):

Before the <object> tag in the published html file, right after the <body> tag, add this:
<div style="position: absolute; left: 0px; top: 0px; z-index: 0;">
Then add </div> right after </object>

Your content(reg html) should start right after that, but before your content put:
<div style="position: absolute; left: 0px; top: 0px; z-index: 5;">
Then after your content, before the </body> tag add: </div>

This will lay all your static content on top of your flash movie.

</snip>

I works great except the client wants the page to be centered. Any suggestions?

Thanks,
Lisa Cowan
ASKER CERTIFIED SOLUTION
Avatar of Dushan Silva
Dushan Silva
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lisacowan
lisacowan

ASKER

Thanks for your help! That did the trick.

Lisa
LIsa, can I see your example??