Blank Space Before Flash

Discussion in 'Web Design and Development' started by unis, Mar 26, 2008.

  1. unis macrumors newbie

    Joined:
    Mar 26, 2008
    #1
    Hi the website we have created has a blank space above the flash in Safari but works well in other browsers. Any idea whats the problem?

    Thanks
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Might help to see some code. Likely a margin or padding issue though.
     
  3. Volante macrumors regular

    Joined:
    Feb 8, 2008
    #3
    Ya, always reset padding and margin in the top of your css file:

    * {
    margin:0;
    padding:0;
    }
     
  4. unis thread starter macrumors newbie

    Joined:
    Mar 26, 2008
    #4
    Here's the code, there's no css script because it just flash on the page.

    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) { //reloads the window if Nav4 resized
    if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    //-->
    </script>
    <style type="text/css">
    <!--
    body {
    background-color: #00267f;
    }
    -->
    </style>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </head>
    <body topmargin="0" rightmargin="0" leftmargin="0" bottommargin="0">
    <table width="980" cellpadding="0" cellspacing="0" border="0" align="center">
    <tr>
    <td width="980" height="176"><img src="/images/index_ver1/index_ver1_topbar.jpg" width="980" height="176"></td>
    </tr>
    <tr><td><img src="/images/index_ver1/index_01_01flash.jpg" width="3" height="250"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0','width','974','height','250','src','ppt/02new','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','ppt/02new' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="974" height="250">
    <param name="movie" value="ppt/02new.swf">
    <param name="quality" value="high">
    <embed src="ppt/02new.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="974" height="250"></embed>
    </object></noscript><img src="/images/index_ver1/index_01_02flash.jpg" width="3" height="250"></td>
    <tr><td><img src="/images/index_ver1/index_ver1_middle01.jpg" width="980" height="20"></td>
    </tr>
    <tr><td><img src="/images/index_ver1//index_ver1_middle02a.jpg" width="441" height="15"><a href="homepage.htm"><img src="/images/index_ver1/index_ver1_enterbtn.jpg" width="70" height="15" border="0"></a><img src="/images/index_ver1/index_ver1_middle02b.jpg" width="469" height="15"></td>
    </tr>
    <tr><td><img src="/images/index_ver1/index_ver1_bottom.jpg" width="980" height="130" border="0" usemap="#Map">
    <map name="Map">
    <area shape="rect" coords="484,104,516,120" href="resolution.htm">
    <area shape="rect" coords="538,104,595,121" href="disclaimer.htm">
    </map>
    </td>
    </tr>

    </tr></table>

    </body>
    </html>
     
  5. unis thread starter macrumors newbie

    Joined:
    Mar 26, 2008

Share This Page