navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

css to centre flash

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> css to centre flash
Page: [1]
 
loversinc

 

Posts: 28
Joined: 4/26/2006
Status: offline

 
css to centre flash - 5/14/2006 13:53:14   
hi I am totaly new to this and don't know what I am doing! I would really like to centre my games with css and not with tables like I am currently doing. At the momment it looks ok in firefox but not in Internet Explorer at all resolutions.
http://www.free-online-games-player.co.uk/police-chopper-game.html

any help would be greatly appreciated.

thanks
Tailslide

 

Posts: 6036
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: online

 
RE: css to centre flash - 5/14/2006 16:17:45   
You've got a whole load of markup within the head of your document which may well cause you problems - move it all out of the head and into the body of the document and see what happens.

Easiest way to centre using CSS would be to shove everything into a containing div and give that div the rule:

#container {margin:0 auto; text-align:center;}


Then normalise the text align further down in the CSS. Margin 0 auto will put the div at the top of the page in the centre for good browsers and text-align:center will do the same for IE.

< Message edited by Tailslide -- 5/14/2006 16:27:06 >


_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to loversinc)
loversinc

 

Posts: 28
Joined: 4/26/2006
Status: offline

 
RE: css to centre flash - 5/14/2006 16:55:58   
i think i have sorted out the head bit.. now doing that for the rest of the site! sorry don't know how to do the above... i've only just started!!

(in reply to Tailslide)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> css to centre flash
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts