Center Flash8 page

I am trying to center my fla page. When I go to my
url after unloading the page, the page appear not centered in the
browser. How do i correct?

Hey. Here is a quick way to align vertically and horizontally
the flash movie in the html index. Replace the movie name and
dimensions on both lines and stick in a website name at the top.
Hope this helps you.
--808--
<html>
<head>
<title>Your Web Name Here</title>
</head>
<style>
BODY
{background-color: #FFFFFF;
margin:0;
padding:0;}
.centersite {
text-align:center;
vertical-align: middle;
width: 100%;
height: 100%;
</style>
<body>
<table CLASS = "centersite">
<tr>
<td>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="775" height="425" align="middle">
<param name="movie" value="MovieNameHere.swf" />
<param name="quality" value="high" />
<embed src="MovieNameHere.swf" width="775" height="425"
align="middle" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"></embed>
</object>
</td>
</tr>
</table>
</body>
</html>

Similar Messages

  • Using AP elements on a center justified page

    Sorry if this question has been asked innumerable times
    before. If so, can anyone direct me to a link that explains how to
    move AP elements about on a center justified web page? When I do
    so, the AP elements seem to do their own thing, irrespective of the
    center justified page.
    Here is the URL
    in question.
    I realize I can manually set the CSS position properties for
    each of the 12 AP elements, but was wondering if I can do this in a
    quicker, simpler way.
    Here is an
    example of a page layout I'm trying to emulate. Any ideas?

    Joe: Just so you'll know, that solution is posted here 5-10
    times a week.
    I would change your code to this -
    <body>
    <div id="wrapper">
    <div id="apDiv6"><img src="images/jp-bio_bkgd.gif"
    width="1300"
    height="850"
    /></div>
    <div id="apDiv8"></div>
    <div id="apDiv9"></div>
    <div id="apDiv10"></div>
    <!-- /wrapper -->
    </div>
    </body>
    Then I would stop using absolute positioning altogether until
    you can build
    an entire page in Notepad. It's a seductive nightmare
    otherwise.
    Understanding why my solution works will require that you
    understand how CSS
    positioning works. This may help you understand a bit -
    There are 4 different types of positioning:
    Absolute
    Relative
    Fixed
    Static
    Here is a brief explanation of each kind of positioning (with
    regard to
    placement of elements on the page only)....
    Position:absolute (or A/P elements)
    This does several things -
    1. It 'removes' the element from the flow of the code on
    the page so that
    it can no longer influence the size or position of any other
    page element
    (except for those contained within it, of course).
    2. The absolutely positioned element takes its position from
    the position of
    its closest PARENT *positioned* element - in the
    absence of any explicitly
    positioned parent, this will default to the <body> tag,
    which is always
    positioned
    at 0,0 in the browser viewport.
    This means that it doesn't matter where in the HTML code the
    layer's code
    appears (between <body> and </body>), its
    location on the screen will not
    change (this assumes that you have not positioned the A/P
    element within
    a table or another A/P element, of course).
    Furthermore, the space in
    which
    this element would have appeared were it not positioned
    is not preserved
    on the screen. In other words, absolutely positioned elements
    don't take
    up any space on the page. In fact, they FLOAT over the page.
    Position:relative (or R/P elements)
    In contrast to absolute positioning, a relatively positioned
    page element is
    *not* removed from the flow of the code on the page, so
    it will use the
    spot
    where it would have appeared based on its position in
    the code as its
    zero point reference. If you then supply top, right,
    bottom, or left
    positions
    to the style for this element, those values will be
    used as offsets from
    its
    zero point.
    This means that it DOES matter where in the code the
    relatively positioned
    element appears (, as it will be positioned in that location
    (factoring in
    the offsets) on the screen (this is true for any placement in
    the code).
    Furthermore, the space where this element would have
    appeared is
    preserved in the display, and can therefore affect the
    placement of
    succeeding elements. This means that the taller a relatively
    positioned element is, the more space it forces on the page.
    Position:static
    As with relative position, static positions also "go with
    the flow". An
    element with a static position cannot have values for
    offsets (top, right,
    left, bottom) or if it has them, they will be ignored. Unless
    explicitly
    positioned, all div elements default to static positioning.
    Position:fixed
    A page element with this style will not scroll as the page
    content scrolls.
    Support for this in elements other than page backgrounds is
    quirky
    There are several other things you need to know:
    1. ANY page element can be positioned - paragraphs, tables,
    images, lists,
    etc.
    2. The <div> tag is a BLOCK level tag. This means that
    if it is not
    positioned or explicitly styled otherwise, a) it will always
    begin on a new
    line on the screen, and b) it will always force content to a
    new line below
    it, and c) it will always take up the entire width of its
    container (i.e.,
    width:100%).
    3. The placement of A/P elements *can* affect the BEHAVIOR of
    other
    elements
    on the page. For example, a 'layer' placed over a hyperlink
    will mask that
    hyperlink.
    You can see a good example of the essential difference
    between absolute and
    relative positioning here -
    http://www.great-web-sights.com/g_layersdemo.asp
    You can see a good demonstration of why using layers for a
    page layout tool
    is dangerous here -
    http://www.great-web-sights.com/g_layer-overlap.asp
    Finally, to get away from absolute positioning, start here -
    http://apptools.com/examples/pagelayout101.php
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "jpodlesnik" <[email protected]> wrote in
    message
    news:[email protected]...
    > My goodness, Murray! That was FAST! AND it worked! :-)
    >
    > Far as I can tell, seems I had to move the code around
    to make it work.
    > Had to
    > keep the code for the AP elements (which I can move
    around AND they stay
    > in
    > place - bravo!) inside the code that you sent me. Does
    this look correct
    > (see
    > below)? Well, in any case, it works: I can move the AP
    elements around
    > anywhere
    > I like and they stay exactly where I leave them when the
    page is previewed
    > in a
    > browser. Thank you very much, Murray!
    >
    > --Joe
    >
    > <body>
    > <div id="wrapper">
    > <!-- /wrapper -->
    > <div id="apDiv6"><img
    src="images/jp-bio_bkgd.gif" width="1300"
    > height="850"
    > /></div>
    > <div id="apDiv8"></div>
    > <div id="apDiv9"></div>
    > <div id="apDiv10"></div>
    > </div>
    >
    > </body>
    >

  • Buying center tab page in opportunity missing

    Hi CRM Gurus,
    i am doing customizing for  Opportunity.
    Buying center tab page in Oppotunity tranasction type is missing.
    Have I missed any settings?
    pl. help urgently...
    Points will be definitely rewarded for help..
    regards,

    Hi Vijay,
    For Buying center to be visible in an Opportunity, maintain the Buying Center as a Partner Function (00000050) in your Partner Procedure.
    Then this Buying center tab will appear for You.
    Kindly reward with Points
    Regards,
    Rekha Dadwal

  • Region in Center of Page

    Hi,
    i want to display my region in center of Page.
    How can i do this.i have tried but i can't.
    How can i do this.
    Thanks

    Absolute center, over other images too ?
    You can apply css styling to your region in the Region Attributes
    for instance
    style=&quot;position:absolute;left:300px;top:300px&quot;positions the div at 300px,300px from the top left of the page.
    You can also use the z-index property to position it above other page elements
    style=&quot;position:absolute;left:0px;top:0px;z-index:100&quot;would place the region at the top left over elements already there.
    If you want to set it on a page with dynamic width, use javascript to determine the page height and width and set these properties.
    For instance
    $('#REGION_STATIC_ID').css({ "position":"absolute"
                                      ,"top": $(window).height()/2
                                      ,"left": $(window).width()/2
                                    })

  • Vertical Center a Page

    I can horizontally center a page with:
    $("#Stage").css("margin","auto")
    How can I vertically center a 960px x 580px Edge Page (Stage)?
    Thanks for any help

    Hi Mario,
    The only way to achieve this is by using anchors. There is no way in Muse to do so. For more info, Please refer to the following link Re: How can I have an anchor used as my home page?
    Regards,
    Aish

  • How do i center a page in Dreamweaver?

    i have made my page in photoshop then i put it in a Layout
    cell in dreamweacer thne when i change picture Code it off centers
    my page and i cant get it to go back. How do i center my page?
    -Bryan

    If you haven't already, you would be well served searching
    through the
    archives for the answer to your question. The archives can be
    found here:
    http://groups.google.com/group/macromedia.dreamweaver
    http://groups.google.com/group/macromedia.dreamweaver.appdev
    "BryanRob" <[email protected]> wrote in
    message
    news:eln8v4$pf1$[email protected]..
    >i ahev made my page and pu tin dreamweaver cell now i
    haev to center it so
    >it
    > will center on all diffrent types of IE and ap[ple
    computersas etc. How
    > can i
    > center the cell so it is "universal" to everyones
    broswser?
    >

  • How do i center a page?

    Hello!
    How do i center a page in Pages? Its kind of disturbing having it stuck to one side...
    Here is the problem, from another forum though:
    http://www.mac-forums.com/forums/os-x-applications-games/128094-how-do-you-cente r-page-iworks-pages.html&usg=_NBylQsbv3mc7TNuJ8l1S7HpYSUk=&h=448&w=630&sz=66&hl=no&start=46&tbnid=flcQCgZSZ0OLM:&tbnh=97&tbnw=137&prev=/images%3Fq%3Dpages%2Bmac%26start%3D42%26gbv%3D 2%26ndsp%3D21%26hl%3Dno%26sa%3DN
    Thanks a lot for any answers!

    When I open a template in Pages 09, it comes up with an exact fit to the window, that's as centered as it can be. I can drag the window to any part of the screen I wish, including the center. I know that if I expand the window without zooming to fit, the page will be offset, but I don't see that as a problem, as I can control whether I extend the window or not and whether I zoom-to-fit or not. If I don't want to see the windows of other active apps, I can select Pages > Hide Others. If my desktop is cluttered with files, I can clean it up.
    Sorry I can't be more sympathetic.
    Jerry

  • Aligning a report to center of page

    I'm new to Apex, and in working through my first application the one thing I can't figure out how to do (so far) is align my report to the center of the page rather than the left side of the page. It is the only thing on the page and is currently located in "Page Template Region Position 2", has a template as "Reports Region", and is in column 1. I've tried changing the column number and that did nothing. I've tried different attributes in the "Region HTML table cell attributes" and that didn't work either, so I scoured this forum and still couldn't come up with an answer. If anyone has any insight into this issue it would be greatly appreciate!
    Thanks.

    Hi,
    If its going to be the only thing on the page you can try changing the template to "Forms Region" instead of "Reports Region" This will change the look a little, but allows you to move it around easier.
    Then place it in to column 2.
    Then in the HTML attributes for the report you can enter in css style such as style="margin-left: auto; margin-right: auto;"
    There are probably better ways to do this, but you can try it and see if you like it.
    -Marc

  • How to center a page for all browsers?

    Could someone take a look at my code and tell me why the page isn't centered. When I'm at a school computer, the page is centered for Internet Explorer, but not for Chrome or Firefox. When I am on my home computer, the page isn't centered for any browser. If you could test your solution for at least 2 of the 3 main browsers, that would be wonderful! Thanks in advance!
    Also, Dreamweaver CC.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Title</title>
    <style type="text/css">
    body {
      background-image: url(images/background.png);
      background-repeat: repeat;
      font-family: "French Script MT";
      display: table-cell;
      vertical-align: middle;
      position: relative;
      color: #B9AB90;
    Memories {
            font-family: "Arial Black", Gadget, sans-serif;
            font-size: 18pt;
            color: #360D11;
    .Text {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 16px;
            color: #7A2500;
            font-style: normal;
            font-weight: bold;
    .Bottom {
      font-family: Tahoma, Geneva, sans-serif;
      color: #000000;
    .SessionMain {
      color: #170C03;
      font-family: special-elite;
      font-style: normal;
      font-weight: 400;
      font-size: 24pt;
    .SessionHead {
      color: #4C3223;
      font-family: ewert;
      font-style: normal;
      font-weight: 400;
      font-size: 40pt;
      vertical-align: middle;
      text-align: center;
    </style>
    <meta name="keywords" content="test,test2" />
    </head>
    <body background="images/background.png">
    <p><a name="Top" id="Top"></a></p>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tbody>
        <tr>
          <td width="70"> </td> <!-- Width here will set how far from the left the page is -->
          <td><div align="center">
            <table width="1030" border="0" cellpadding="0">
        <tr>
          <td width="395" rowspan="2"><table width="394" border="5" bordercolor="#784321" bordercolordark="#7A2401" bgcolor="#FFE6A8">
            <tr>
              <td width="376"><div align="center"><img src="image.png" width="350" height="171" alt="logo" /></div></td>
              </tr>
            </table></td>
          <td height="100"> </td>
          </tr>
        <tr>
          <td width="629" height="87"><table width="629" height="83" border="5" bordercolor="#784321" bordercolordark="#7A2401" bgcolor="#FFE6A8">
            <tr>
              <td width="606" height="69"><div align="center" style="font-size: 46px; color: #4C3223;"><strong>Text</strong></div></td>
              </tr>
            </table></td></tr></table></div>
    <div align="center"></div>
    <p></p>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tbody>
        <tr>
          <td height="73"> </td>
          <td width="629" height="87"><div align="center">
            <table width="1020" height="83" border="5" bordercolor="#784321" bordercolordark="#7A2401" bgcolor="#FFE6A8">
              <tr>
                <td width="606" height="69"><div align="center" class="SessionHead" style="font-size: 46px; color: #4C3223;">Text</div></td>
                </tr>
            </table>
          </div>
            <div align="center"></div></td>
          <td> </td>
          </tr>
        </tbody>
    </table>
    </p>
    <div align="center">
      <table width="1020" border="2" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td height="210"><div align="center" style="font-size: 36px">Content</div></td></tr></tbody></table>
    </div>
    <p> </p>
    <div align="center">
      <table height="95" width="1016" border="0" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td width="15" rowspan="2" bgcolor="#2E190B"> </td>
            <td width="986" height="18" bgcolor="#2E190B"> </td>
            <td width="15" rowspan="2" bgcolor="#2E190B"> </td>
            </tr>
          <tr>
            <td height="77" bgcolor="#DFB47F"><table width="97%" border="0" cellspacing="0" cellpadding="0">
              <tbody>
                <tr>
                  <td width="2%"> </td>
                  <td width="98%"><p class="Bottom"><a href="#Top"><a href="#Top">Back To Top</a></p>
                    <p class="Bottom">Last Updated: Sunday, January 4, 2015 10:42 AM</p></td>
                  </tr>
                </tbody>
              </table></p>
              </td>
            </tr>
          </tbody>
      </table>
    </div>
    </body>
    </td>
        </tr>
      </tbody>
    </table>
    </html>

    I also determined that the page displays differently based on whether it's on a local hard drive (not centered in IE, Chrome, or Firefox) or if it's being stored on server (centered in IE, not in Chrome or Firefox). Any idea why and how I can fix it?

  • How to center web page made in indesign cs5

    Hi everyone,
    I'm new to this forum and I hope I'll get help, because I need it
    I've made a web page in indesign cs5, exported in SWF and generated HTML.
    My swf file looks good, but my html file is not centered, web page is positioned
    in upper left corner, and I want it to be in the center.
    How can I put it there?
    Thnx very much!
    Hresta

    I know ID is not the best option for a website, but I need it that way.
    I know html/css, but my generated html file contains javascript which
    I'm not familiar with :/
    There's no div so I don't know where to put my auto margins?
    Simply on top of the html file?
    Thnx anyway!!

  • How to center entire page

    I've been trying to view my site on multiple computers to gauge how wide I shoud make the banners and contents and it just occured to me how much simpler this would be if I could somehow just have the entire page center itself automatically. Is there some way to put a div tag or something around the entire contents so that the page appears in the center of all browsers? If so, is this a good way to acheive a wider scope of viewability?

    The easist way is to create a "wrapper" div, which will contain all of your content.
    So I would create this rule in your css
    #wrapper     {
         width:900px;
         margin:0px auto;
    Then change this
    <body>
    <p>
    to this
    <body>
    <div id="wrapper">
    <p>
    then change this:
    </script>
    </body>
    to this
    </script>
    </div>
    </body>
    See if that works for you.
    Gary

  • Printing small column in center of page

    Both my wife and I have started having printing problems when printing to our Lexmark Optra E312 laser printer. Until recently, everything was fine. Then my wife began having problems. All the pages she tried to print came out as a thin column of print down the center of the page (about 1/3 of the page). I could print fine, but then a day or so later, I started to get the same problem.
    She was using Word. I was using AppleWorks. We print over an Airport Express, but I had the same problem when I switched the USB cable directly to my computer.
    I can save the file as a PDF and then print that with Adobe Reader. Then it prints fine. So I assume the problem isn't with the printer but is with our OS X 10.4.7.
    Has anyone experienced this problem? Any suggestions on what we might do to correct the problem?

    Hello Kendall,
    I haven't seen this in Word (don't have AppleWorks) so I can't offer a quick fix. So thought I'd ask some questions (sorry if some are obvious) to see if we can get a workaround.
    Does the 'Quick Preview' in Word (File > Print) look okay or reduced?
    If it looks okay, if you then click Preview in the print dialog, does it still look 1:1 or reduced when you view it in the Preview application?
    In Word, in Page Setup, is the 'Format for' set to Any Printer or your Lexmark? Also, is the 'Paper Size' and 'Scaling' in Word set correctly?
    Is the 'Default Paper Size' in System Preferences > Print & Fax set correctly?
    If all the above is okay (just wanted to double check first) then maybe the preferences for the apps has a problem. Did the problem occur after the 4.7 update (not surprised if it did)? Try opening Disk Utility and running Repair Permissions. It's amazing how many problems this resolves.
    If that doesn't help, go to your home folder > Library > Preferences > Microsoft (for Word) and delete the com.microsoft.Word.prefs.plist. Then restart the Mac and open Word and print something.
    If this still doesn't help then I'd have to investigate this further..
    Regards,
    Paul

  • Preset to put a registration mark in center of page

    I cannot figure out how to put my reg. mark in the center of the page to set it up for silk screening! When i click Print and go to marks and bleeds and select the tab for Registration Marks they only go to the outer corners and there is not a preset (that I can see) that puts them to the center. Please help!!

    Typically reg. marks are outside the print area. If you need one within the page area you'll need to create your own. You can create the register mark, like any other artwork and assign it the default "Registration" color from the swatch panel.
    To place something in the center of a given artboard:
    Either:
    Cut artwork element(s) (Cmd-x)
    zoom to artboard (cmd-0)
    Paste (Cmd-V)
    Or:
    Select artwork element(s)
    Choose "Align to Artboard" in pull-down menu in options bar
    Click "Horizontal Align Center" and "Vertical Align Center" buttons in option bar

  • Promoted links in center of page using CSS code in a script editor

    I do not have access to the sharepoint designer (company policy) but I'm trying to get my promoted links in the center of my SharePoint-page. This all in a way that they stay centered when I change form laptopview (1366x768) to desktopview (1920x1080).
    I've googled the problem but no solution is (yet) presented.
    Can you help me to the script editor code I need?

    Hi,
    Have you tried using javascript inside a Content Editor Web Part (CEWP)  ?
    Here is an example : https://social.msdn.microsoft.com/Forums/office/en-US/b7cf5f24-f970-44d9-a50d-382d77d0def9/how-do-i-center-a-list-view-webpart-style-boxed?forum=sharepointcustomizationlegacy
    Regards
    Samuel Levesque | Sharepointerie.com |
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Printer not printing in center of page -can't move to left

    EMAIL:
    I cannot center the printing page.  It prints too far to the right. When I try to move it to the left, it still comes way off center toward the right side of the email.

    Hi @golden-palms97 , and welcome to the HP Forums!
    I see you're having issues printing emails.  I would like to help!
    Before we start, I have a few questions:
    Does this occur when making a copy?
    Does this occur from any other program?
    Do you have this issue when opening your email in a different internet browser?
    I'd recommend starting with a power reset.  Disconnect the power cord from the printer and the power outlet, then wait 60 seconds. After 60 seconds, plug the printer back in. Ensure you plug the printer directly to a wall outlet. Make sure to bypass any sort of surge protector or power bar.
    I would also recommend downloading and running the HP Print and Scan Doctor.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

Maybe you are looking for