IE 8 cropping one pixel of left side of Flash

I have a mysterious problem with Flash in Internet Explorer 8.
We have previously been using the code listed below to center Flash campaign sites on the page. The page did not have any doctype declared (not pretty, I know), but it worked fine across all browsers...
Then came IE 8. Suddenly 1px of the left side of the Flash/SWF is cropped of. I found that adding a doctype to the page fixed the problem, but that caused the content to no longer center vertically (in some browsers).
If I replace the Flash with a simple JPG image, it displays correctly - so this is related to the #¤%@ SWF / IE8 combo.
What are you guys using for centering your sites?
Some observations
Without doctype declared:
Works in Firefox, and IE 7
IE 8 and IE 8 in compatibility mode crops 1 pixel from left side
With HTML 4.1 Transitional doctype:
Is not vertically centered in IE 8 compatibility mode, IE 7 or Firefox
IE 8 in compatibility crops 1 pixel from left side
With XHTML 1.0 Transitional doctype:
Works in IE 8
Is not vertically centered in IE 8 compatibility mode, IE 7 or Firefox
The code causing the problem
(doctypes are left in commented out - just to show which ones I've tested with)
<!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">-->
<!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">-->
<!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Volkswagen</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("FastStartFlash", "9.0.0", "FastStartmainSite.swf");
</script>
<style type="text/css">
================================================
  Yahoo GUI Reset CSS
  http://developer.yahoo.com/yui/reset/
================================================
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquot e,th,td {
  margin:0;
  padding:0;
table {
  border-collapse:collapse;
  border-spacing:0;
fieldset,img {
  border:0;
address,caption,cite,code,dfn,em,strong,th,var {
  font-style:normal;
  font-weight:normal;
ol,ul {
  list-style:none;
caption,th {
  text-align:left;
h1,h2,h3,h4,h5,h6 {
  font-size:100%;
  font-weight:normal;
q:before,q:after {
  content:'';
abbr,acronym { border:0;
</style>
</head>
<body bgcolor="#ffffff" style="margin: 0px; padding: 0px;" onload="initFlashComDebug();">
  <table style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;">
  <tr>
   <td valign="middle" align="center">
    <div style="padding-top: 0px;">
     <object id="FastStartFlash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="952" height="654" align="middle">
      <param name="movie" value="FastStartmainSite.swf" />
        <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="FastStartmainSite.swf" width="952" height="654">
      <!--<![endif]-->
      <div>
       <strong>Der er behov for en opdatering af din flash afspiller</strong><br />
       <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoi d=BUIGA">Klik her for nyeste version.</a>
      </div>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
     </object>
    </div>
   </td>
  </tr>
  </table>
</body>
</html>

Well, I found MY problem. It was a center tag. I had <center></center> around my Flash movie. So I put it in a table and now it's works. I looked over your code, but I don't see a center tag so maybe this won't help you. You did help me to fix mine so if I can help in any way let me know.
Update: I noticed that you centered your data cell, maybe you could try centering the whole table.

Similar Messages

  • One of first versions of macbook air with black horizontal lines on bottom one third of screen and vertical line also one third of left side of screen

    one of first versions of macbook air with black horizontal lines on bottom one third of screen and vertical line also one third of left side of screen

    Hi
    I've recently notice I have a thin black line in my screen.. I went to Apple store and was told it’s a hardware problem (400$+ to fix as no warranty).
    This is the second time I’m having hardware screen issues with a Macbook Air (last time it was 3 months after I bought it, and it was replaced with this one)
    Looks like the Macbook Air screens are very problematic!  Anyone experience something like that?
    Thanks,
    Eyal.

  • Put the TLF vertical scrollbar on the left side in flash CS4

    Hi, all
    I’m using Arabic words on TLF so I want to put the vertical scrollbar on the left side. But I don’t know how to do it. Could anybody give me an example?
    Thanks.

    Hi azeem
    I have been learning how to deal with arabic fonts now in flash10 and from what i have read up so far adobe has stopped updating the TLF component and it is been said it will only reappear with flash11 again. So if there is a bug with 64 bit os , then it is stuck like that for now. Another point to mention while using the forums and from personal testing is that the adobe arabic font will not handle diacritics correctly. You should try use Arial version 4 (the arial that ships with vista , the arial that shipped with xp is also faulty).
    Ian Pretorius

  • Left Side of scroll wheel not working! PLEASE HELP!!

    the left side of my scroll wheel has completely stopped working!! all of the buttons on the wheel work fine, but when scrolling only the right side scrolls, its extremely frustrating! I'm planning on buying another ipod sometime in the future, but if I cant get my current one fixed, I'm not going to get another one. It wasn't dropped or damaged in anyway, one day the left side just became completely unresponsive.
    PLEASE HELP!

    This Apple article explains how to troubleshoot your screen and may help you explain your problem when you take it to the store.
    iPhone: Troubleshooting touchscreen response: http://support.apple.com/kb/TS1827

  • Left side of XServe Raid disappeared.  Please help

    Hello,
    During the cleanup of a bunch of data on right side of my XServe Raid (two raid 5's with spare, one on the left side, one on the right side), the server became very unresponsive (Windows 2k server), to the point where it wouldn't even shut down. I reset the box but when it came back up the left side of the XServe was gone (showed up as a missing drive in disk manager).
    RAID Admin shows that there is no raid on the left side and shows all drives as spares. I've just completed copying all the data off of the still functional right hand side and can now attempt to recover the left side (if that's even possible?). I saw a suggestion that full power offs and restarts (multiple times) has helped another poster. So far I have powered down the XServe Raid 2 or 3 times without the left side raid showing up. I'll be trying a few more times shortly.
    I believe there is an option to recover the raid in RAID Admin? My XServe has an older version of firmware that does not support the RAID Admin Utilities. I have been nervous of upgrading the firmware and possibly irreversibly losing the raid if it isn't already irreversibly gone.
    Can anyone offer any suggestions?

    No luck on the reset, both via Raid Admin and the reset button on the XServe Raid.
    A restore of most of the data has completed onto another storage device.
    I can see a power spike or something wiping out the config of both arrays, but to have only one side just disappear and with no way to re-read the raid configuration from the drives, I can't trust the XServe RAID anymore and we won't be going back to using it.
    I certainly appreciate you taking the time to offer a suggestion Camelot!

  • The top button on my iphone 5 stopped working recently.. Well it works but barely at all if every. Most of the time it only locks the screen if I click on the left side of the button. Also my Camera causes a blue pixelated spot on pictures I take.

    The top button on my phone recently stopped working. Well sometimes. Majority of the time if I click it hard enough on the left side of the button it will lock the screen... Otherwise it doesnt work at all anymore. Also the camera appears to be placing a blue pixel on pictures I take. Its annoying. What should I do?

    It's completely situational. Without being able to directly compare the "scratch" on the original poster's iPhone with your iPhone, what gaamcc had happen could not be extrapolated to guess what Apple may do in your situation. It will depend entirely on what the Apple technician diagnoses after examining your iPhone. He/she may decide that any damage is strictly cosmetic and didn't have any connection with the problem you're taking your iPhone in for, or he/she may diagnose the problem as stemming from user damage. You'll just have to see when you go to the Apple Store.
    Regards.

  • My iPad keyboard divided in half with one side on the left side of the tablet, the other on the right side and an equal blank space separating them.  The entire keyboard also became smaller.  How can I get it back to normal?a

    My iPad keyboard (spontaneously?) divided in half with one side on the left side of the tablet, the other on the right side and an equal blank space separating them.  The entire keyboard also became smaller.  How can I get it back to normal?

    You can also turn OFF Split Keyboard
    Settings>General>Keyboard>Split Keyboard>OFF

  • When i click on one particular bookmark it opens in a window in the same browser page that is open but on the left side so that I have two dirfferent urls open

    I will have page open in the browser and when I click on one particular bookmark it always opens in the same browser but as a second page on the left side of the page. How do I stop this from happening--it is apage that I need to visit often for business and it is very restricting.

    Awesome, really, it was so annoying. It's the small things in life that make such a difference. Problem solved 100% spot on easy as toast. [email protected]

  • MX432 All-in-one printer: left side of printed subject is being cut off when using 'normal' layout.

    Because 'normal' and 'fit to page' layouts cut off left side of printed material I'm using 'borderless' layout but that doesn't give me the paper size option I need.  Any hints on how to save the left side of paper and how to change paper size in borderless layout.  Any hints in print preview wherein I can print just 'one or two'  of multiple pages without having to return to the set-up page?

    Hi vitaminsg,
    You can set it so that "Fit to Page" printing is the default setting.  To do this, use the following steps:
    1.  Click Start.
    2.  Click Control Panel.
    3.  Click Printers and other Hardware.
    4.  Click Printers and Faxes.
    5.  Right click the PIXMA MX432 and click Printing Preferences.
    6.  Click the Page Setup Tab.
    7.  Select Fit to Page under Page Layout, then press OK.
    This should now be the default setting for all programs.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Display anomalies ang got death pixel on middle left side

    my friend brought an iPhone 5c and after 6 months the problems came out which is the display anomalies ang got death pixel on middle left side, so i just wonder what is the problem?? the phone are never drop on the floor is the main point.

    Take it back as it is still covered under warranty.

  • Hi from few days onwards i found one abnormality in my iphone4s .That is if i observe my phone settings screen from right side of the device top navigation appearing rightside height is more than the left side. In reverse manner from the left side.

    Hi from few days onwards i found one abnormality in my iphone4s .That is if i observe my phone settings screen from right side of the device top navigation bar appearing rightside height is more than the left side. In reverse manner from the left side. I dnt know whether it is default feature of iphone or not but i am really disappointed due to this. So please anyone help me in this issue and let me clear my doubt and make me happy. Thanks in advance.

    I believe what you are seeing is an optical illusion when viewing the screen from the side. Try to align one of the one of the options in Settings, like General, with the navigation bar you'll see it does the same thing.
    Hope that helps

  • I dropped my ipad mini and the left side got dented .. so the volume buttons and the mute is not working anymore .... and when i am playing games the volume automatically goes up... i still have warranty .. so does apple replace a new one?

    i dropped my ipad mini and the left side got dented .. so the volume buttons and the mute is not working anymore .... and when i am playing games the volume automatically goes up... i still have warranty .. so does apple replace a new one?

    Steven ~ Welcome to the Support Communities. The following may be useful for next time...
    AppleCare+ for iPad extends your coverage to two years from the original purchase date of your iPad and adds up to two incidents of accidental damage coverage, each subject to a $49 service fee. Note: AppleCare+ must be purchased within 30 days of the date you bought your new iPad.
    iPad mini cases from Tech21
    iPad mini screen protector from Tech21

  • I am not able to adjust the hight of one page on my site. I try to move the blue mark on the left side and it doesn't move. What should I do ? Thanks

    I am not able to adjust the hight of one page on my site. I try to move the blue mark on the left side and it doesn't move. What should I do ? Thanks

    Hi,
    could you please try to find any blank oject like rectangle/textbox, specially at the lower end of the page. Use Edit -> "Select All" to select everything on the page, it will be easier to locate it.
    Let me know if that works

  • There is a small white light in the retina display on my ipad 3. Is this a dead pixel/light leak and how do I fix it? (Located at the bottom left side between home button and left corner)

    There is a small white light in the retina display on my ipad 3. Is this a dead pixel/light leak and how do I fix it? (Located at the bottom left side between home button and left corner)

    Maybe this will show up better in green.

  • TS3276 On the left side of the mail page there is an "On My Mac" header with several folders included. One of the folders, in white, is one called "recovered mail" I don't know how this got there and am not able to delete it. Not receiving any email now.

    On the left side of the mail page there is an "On My Mac" header with several folders included. One of the folders, in white, is one called "recovered mail" with 843 messages in it. I don't know how this got there and am not able to delete it. I am also no longer receiving any email now. Help!

    set the wake-on lan on the main computer
    The laptop's too far away from the router to be connected by ethernet. It's all wifi.
    No separate server app on the laptop, it's all samba
    The files are on a windows laptop and a hard drive hooked up to the windows laptop. The windows share server is pants, so I'd need some sort of third party server running. Maybe you weren't suggesting to use Samba to connect to the windows share though?
    I'm glad that you've all understood my ramblings and taken and interest, thanks The way I see it, I can't be the only netbook user these days looking for this kind of convenience, and I certainly won't be once chrome and moblin hit the market.
    Last edited by saft (2010-03-18 20:38:08)

Maybe you are looking for

  • Price difference between the requisition and the order

    Hi All, There is new functionality in ERP6 that checks the difference in price price between the requisition and the order. The configuration is under Purchase Requisition -> Tolerance Limits -> Define Tolerance Keys. This is very useful functionalit

  • [Problem] Noise/Rustle with iPhone headphones

    Hi guys, first of all i must apologise for my english, it is not my native language, but hopefuly you will understand what i'm saying. Second of all, this may not be a very big deal for some of you, but it is for me and i'm very sure for others too.

  • Icons in the top Toolbar

    I know that this probably sounds quite petty, but how do you remove unwanted icons that you don't use from the top toolbar? Oviously I am happy with the battery icon, wireless strength etc, but I have one for scripts, one for VPN and one for a sailin

  • Same Subject field sends copies of email to everyone!

    Say I have 10 clients and at the end of the month I want to email them their invoice as an attachment. The subject matter in each email is "Invoice" Each client not only gets an email with their invoice attached they also get the other nine clients e

  • Test Console not working any more in 11.1.1.3

    Hello, Running OSB 11.1.1.3 on Linux I get this error for any Proxy Service/Business Service in Test Console Error Accessing Test Configuration       "Test Console" service is not running. Contact administrator to start this service. It was working p