Help - Search - Members - Calendar
Full Version: Help centering a .swf file on index page
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Varl
Hi All,
I recently created a website using Flash MX 2004 Pro. Not really being that adept with the software, I can't begin to tell you how hard that was. Well I uploaded the work in progress to my server and now I'd like to have the .swf file always in the middle and center of the browser no matter what size the browser is. Is this possible and what would the code look like. Any help would be GREATLY appreciated. Thanx.

www.grooveinc.us


p.s. the sites not finished at all. I just wanted to see how it would look.
Varl
Ok, I've got it partly solved. I was able to use the <DIV=CENTER> </DIV> command to center from left to right. How do I center from top to bottom? Is that possible? Thanx All smile.gif Also, did I use the DIV command in the right place in my code?
Pattons3rd
You mean <div align=center> right?
I think <div valign="top"> might work.
I saw your HTML Help post. smile.gif
Frederiek
Rather use CSS, see http://www.w3.org/Style/Examples/007/center.html
Varl
Thank you so much, I'll check this out smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.