"Richard" <(E-Mail Removed)> wrote in message
news:B8DD739A-4C96-4EDC-A705-(E-Mail Removed)...
> I've embedded this code on the page and I'd like to have it centered on
> the
> page. Here is my code. Whats the code and where do I place it? Thanks in
> advance!!!
> <a href="http://www.restingtributes.com/media/v13.swf"
> style="display:block;width:425px;height:300px;" id="player"> </a>
> <script language="JavaScript"> flowplayer("player",
> "media/flowplayer-3.1.5.swf"); </script>
Try
<div align="center">
<a style="text-align:center; width:425px; height:300px; border:1px solid
black;"
href="http://www.restingtributes.com/media/v13.swf"
id="player"> </a>
<script language="JavaScript">
flowplayer("player", "media/flowplayer-3.1.5.swf");</script>
</div>
I added the border so that you can see where it appears on the page. I
assume that the function flowplayer places some innerhtml into the <a> tag.
If so, you could make this an onload event
e.g.
<body onload='flowplayer("player", "media/flowplayer-3.1.5.swf")'>
<div align="center">
<a style="text-align:center; width:425px; height:300px; border:1px solid
black;"
href="http://www.restingtributes.com/media/v13.swf"
id="player"> </a>
</div>
--
Trevor Lawrence
Canberra
Web Site
http://trevorl.mvps.org