Blank Space Before Flash

Joined
Apr 9, 2008
Messages
2
Reaction score
0
Points
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

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="clsid27CDB6E-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>
 
Joined
Mar 4, 2008
Messages
477
Reaction score
22
Points
18
Hmm, I'm not seeing a space. There's the Flash then directly above that is the index_ver1_topbar.jpg and that's flush against the top of the browser.

I don't have any access to the images themselves, so maybe it's something with that? Either that or I'm not understanding what you mean exactly.
 
OP
U
Joined
Apr 9, 2008
Messages
2
Reaction score
0
Points
1
This is the website- www.tts.edu.sg
It works well in other browsers but not safari and opera. There is a hugh blank space below the flash.
 
T

todd51

Guest
Maybe try using div tags instead of tables to layout the page. I've learned to switch to using all div tags since sometimes tables can get kind of funky in certain browsers.
 
Joined
Mar 19, 2007
Messages
1,814
Reaction score
137
Points
63
Location
NY USA
Your Mac's Specs
iMac 5.1 | iMac 7.1 | iMac 12.1 | iMac 19.1 | iPhone 11 Pro | Watch s5
It's this guy after the <noscript> tag...

<img src="/images/index_ver1/index_01_02flash.jpg" width="3" height="250">

It's wrapping instead of being placed on the right. You'll need to fix the layout. Perhaps use a table cell, or use white-space:nowrap in CSS.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top