Page 1 of 1

HTML question

Posted: Wed Nov 08, 2006 7:37 am
by Jeffrey35
Hey guys,

On my blog, i embedded a flash music player. You can see it at the bottom of the sidebar. The url of my blog is http://www.jeflog.nl.
I put it in an iframe because it wont work directly embed in the sidebar.
It works fine now but i think i like it better if the musicplayer is a little bit more on the left. Does anybody knows how to make that possible? With tables or something?

These are the htmlcodes for the htmlnugget and the iframe:
------------------------------
<IFRAME ALIGN="left" FRAMEBORDER="0" ALLOWTRANSPARENCY width="252" height="280"
SRC="http://www.jeflog.nl/flashmusicplayer/musicplayer.html"> </IFRAME>
------------------------------
<!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=iso-8859-1" />
<title>Flash Music Player</title>
</head>
<body>

<script type="text/javascript" src="http://www.jeflog.nl/flashmusicplayer/s ... "></script>

<div ALIGN="left" id="flashPlayer">
This text will be replaced by the Flash Music Player.
</div>

<script type="text/javascript">
var so = new SWFObject("http://www.jeflog.nl/flashmusicplayer/p ... lelist.swf", "mymovie", "192", "200", "7", "#FFFFFF");
so.addVariable("autoPlay","no")
so.addVariable("playlistPath","http://www.jeflog.nl/flashmusicplayer/playlist.xml")
so.write("flashPlayer");
</script>

</body>
</html>
------------------------------

I hope you guys understand my question, i just want the musicplayer to get a little bit more to the left so it looks nicer.

Greetz, Jeffrey

Re: HTML question

Posted: Wed Nov 08, 2006 9:22 am
by garvinhicking
Hi!

The iframe needs to be styled in itself; so you need to modify the musicplayer.htm file and add border:0 and margin:0 CSS attributes to its 'body' tag.

HTH,
Garvin

Posted: Wed Nov 08, 2006 11:41 am
by Jeffrey35
Ok, thanks.
Now it's all good :D

greetz,
Jeffrey