The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help centering a .swf file on index page
Varl
post Mar 20 2007, 06:12 AM
Post #1





Group: Members
Posts: 4
Joined: 20-March 07
Member No.: 2,267



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Varl
post Mar 20 2007, 07:16 AM
Post #2





Group: Members
Posts: 4
Joined: 20-March 07
Member No.: 2,267



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?

This post has been edited by Varl: Mar 20 2007, 07:17 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Pattons3rd
post Mar 20 2007, 08:22 AM
Post #3


Newbie
*

Group: Members
Posts: 13
Joined: 19-March 07
Member No.: 2,250



You mean <div align=center> right?
I think <div valign="top"> might work.
I saw your HTML Help post. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Mar 20 2007, 09:06 AM
Post #4


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



Rather use CSS, see http://www.w3.org/Style/Examples/007/center.html
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Varl
post Mar 20 2007, 09:39 AM
Post #5





Group: Members
Posts: 4
Joined: 20-March 07
Member No.: 2,267



Thank you so much, I'll check this out smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 06:28 AM