Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 10318
  • Last Modified:

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
0
lisacowan
Asked:
lisacowan
1 Solution
 
Dushan De SilvaCommented:
Try with
 
<div style="position: absolute; center: 0px; top: 0px; z-index: 5;">

BR Dushan
0
 
lisacowanAuthor Commented:
Thanks for your help! That did the trick.

Lisa
0
 
intangiblemediaCommented:
LIsa, can I see your example??
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now