Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Centering a flash movie using CSS
Old 01-27-2010, 09:21 PM Centering a flash movie using CSS
Experienced Talker

Posts: 39
Name: Scott Bronson
Trades: 0
I hoping someone can help me with this. I need to center this in CSS at the top of the page.

<object>
<param name="movie" value="main_flash8.swf">
<embed src="main_flash8.swf" width="886" height="662">
</embed>
</object>

Can someone help me?
sbronson is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-27-2010, 11:11 PM Re: Centering a flash movie using CSS
MDwebdev85's Avatar
Extreme Talker

Posts: 215
Location: North Carolina
Trades: 0
<div class="center">flash</div>

css

.center {
display: block;
margin-left: auto;
margin-right: auto;
}
__________________

Please login or register to view this content. Registration is FREE

R1 Soft, Backomatic, Softaculous, WHMCS, Harvest, LiteSpeed & more!

Please login or register to view this content. Registration is FREE
MDwebdev85 is offline
Reply With Quote
View Public Profile Visit MDwebdev85's homepage!
 
Old 01-27-2010, 11:27 PM Re: Centering a flash movie using CSS
Experienced Talker

Posts: 39
Name: Scott Bronson
Trades: 0
I tried that and it didn't work and yes I did replace the flash with the code
sbronson is offline
Reply With Quote
View Public Profile
 
Old 01-27-2010, 11:44 PM Re: Centering a flash movie using CSS
MDwebdev85's Avatar
Extreme Talker

Posts: 215
Location: North Carolina
Trades: 0
specify the width on the div...if its less than the div its in, put margins on it, or adjust the padding....
__________________

Please login or register to view this content. Registration is FREE

R1 Soft, Backomatic, Softaculous, WHMCS, Harvest, LiteSpeed & more!

Please login or register to view this content. Registration is FREE
MDwebdev85 is offline
Reply With Quote
View Public Profile Visit MDwebdev85's homepage!
 
Old 01-28-2010, 08:26 AM Re: Centering a flash movie using CSS
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
URI so we can SEE what "isn't working"
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Centering a flash movie using CSS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25041 seconds with 12 queries