HTML question

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Jeffrey35
Regular
Posts: 44
Joined: Thu Oct 26, 2006 7:38 am

HTML question

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: HTML question

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Jeffrey35
Regular
Posts: 44
Joined: Thu Oct 26, 2006 7:38 am

Post by Jeffrey35 »

Ok, thanks.
Now it's all good :D

greetz,
Jeffrey
Post Reply