Trying to embed a SWF into an html file ..

There seems to be a problem with Internet Explorer ( surprised ! :) )
when the width and height are set to 100% and the swf is inside a table
..

example:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html>
<head>
<title>Testing</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
</head>

<body>
<table bgcolor='red' width="100%"
style="table:display;min-height:100%;height:100%">
<tr>
         <td>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflas\
h.cab#version=9,0,0,0" width="100%" height="100%" id="main.swf">
         <param name="allowScriptAccess" value="sameDomain">
         <param name="movie" value="main.swf">
         <param name="quality" value="high">
         <embed src="main.swf" quality="high"  width="100%" height="100%"
name="main.swf" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer";>
</object>

</td>
</tr>
</table>
</body>
</html>


Anyone else seen this ?

If I change the 100% to values then no problem .. but I dont want that
:) ..
I see the problem in Opera also , I do see the swf its just a tiny
little line thou ..
In Firefox I see the SWF but not @ the 100% ..



Reply via email to