<td align="center" width="550" height="440" valign="top"><h1>
<img src="images/spacer.gif" width="500" height="3" alt="">
<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<script type="text/javascript">
var s1 = new SWFObject("video/flvplayer.swf","single","480","292","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","BLTrailer_Medium.flv");
s1.addVariable("image","preview.jpg");
s1.addVariable("autostart","true");
s1.write("player1");
</script>
<img src="images/spacer.gif" width="500" height="70" alt="">
</h1></td>
W3C won't allow the <p id>. They say "document type does not allow element "P" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag ."
I guess it has something to do with the <h1> tag I created for a background image which shows behind the Flash movie which in the style in the header is:
h1 {background-image: url('images/screen_bg_immedium.jpg'); background-repeat: no-repeat; background-position: top;
}
I don't know how to get around this and still keep my bg image. Any suggestions would be appreciated.
Thanks.
You can check out the page at: http://www.idriveinm...iler_medium.htm
This post has been edited by Alcivar: 04 May 2007 - 11:29 PM


Help
This topic is locked

MultiQuote











