Re: [quote]function addbox(){
x1=document.createElement("div");
x1.id="playlist";
document.getElementById("0").parentNode.appendChild(x1);
playlist.innerHTML="<h2>My Playlist</h2>"
+"COMPLETE EMBED CODE H
[quote=switpotato]if u want to reposition it just change the getelementById ("0")
to any number that correspond the box u want it to appear
if u want to apply css use the id u use for ur addbox
in the code presented it uses playist as the id
thus the css will be like this:
#playlist {margin-bottom: 40px! important; [b]border etc etc[/b]}
#playlist h2 { text-align:center! important; [b]font etc etc! important[/b]}[/quote]