Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on 

What is needed to center a flash image to the center of the page?

Hi Experts

What is needed to center a flash image to the center of the page?

Accordingly to
 
User generated image
The code I'm using:

<div class="center-block">  <!--A tentative by using Bootstrap - no success -->
<object classid="clsid:d24553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="400" height="100" id="cabecalho" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="cabecalho.swf" /><param name="quality" value="high" /><param name="salign" value="t" /><param name="bgcolor" value="#ffffff" /><embed src="cabecalho.swf" quality="high" salign="t" bgcolor="#ffffff" width="400" height="100" name="cabecalho" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>

Open in new window


Thanks in advance!
Adobe FlashCSSAdobe Dreamweaver

Avatar of undefined
Last Comment
Eduardo Fuerte
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Not sure what the center-block CSS rule does, and without seeing a live demo it's difficult to say, but I would guess that you need to give your centre-block DIV a width:

<div class="center-block" style="width:400px;">
Avatar of Eduardo Fuerte

ASKER

Hi Chris!

Nice to talk to you.

Here is a live example

http://www.espiriplug.com.br/sistemas2.php
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Eduardo Fuerte

ASKER

Perfect!

Thank you very much.
CSS
CSS

Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.

43K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo