Hi guys.
I am trying to embed my Flash movie into my HTML file using Dreamweaver, with the width and the height set to 100%. The HTML file looks perfect in IE/Safari but looks messed up in Firefox. I tested it around and found out that it’s because I set the height to 100% (if I set it to a value in pixels it works in Firefox, but I need 100% height). Is there a way to get around this? Here is my HTML code:
<!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>:: HARMONIC SPA & BEAUTY ::</title>
<script src=“Scripts/AC_RunActiveContent.js” type=“text/javascript”></script>
<style type=“text/css”>
html, body {
margin: 0px;
background-color: #FFFFFF;
}
</style>
</head>
<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0','width','100%','height','100%','id','Harmonic Spa & Beauty','src','indexLoader','quality','high','bgcolor','#FFFFFF','name','Harmonic Spa & Beauty','align','','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','indexLoader' );
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="100%" height="100%" id="Harmonic Spa & Beauty">
<param name=movie value="indexLoader.swf">
<param name=quality value=high>
<param name=bgcolor value=#FFFFFF>
<embed src="indexLoader.swf" quality=high bgcolor=#FFFFFF width="100%" height="100%" name="Harmonic Spa & Beauty" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</noscript>
</body>
</html>
Thanks in advance.