i already inserted both codes in my css, but the blue bar that was suppose to carry the title header in it is transparent, as oppose to the other boxes, making it different from the others or the 'odd box out'.
this is what i placed in my js and it works....
[quote]function addbox(){
x1=document.createElement("div");
x1.id="friendpic";
document.getElementById("1").parentNode.appendChild(x1);
friendpic.innerHTML="<h2>niwde's friends in friendster</h2>"
+"<div style='visibility:visible'><embed src='http://flash.picturetrail.com/pflicks/3/spflick.swf' quality='high' FlashVars='ql=2&src1=http://pic60.picturetrail.com/VOL1744/10267010/flicks/1/4071664&src2=http://widgetize.picturetrail.com/flicks/4071664' wmode='transparent' bgcolor='#000000' width='500' height='300' name='puzzle' align='middle' allowScriptAccess='sameDomain' style='height:300px;width:500px' type='application/x-shockwave-flash'></embed><p style='whitespace:no-wrap;margin-top:10px;height:24px'><a href='http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&cID=924'><img align='left' src='http://pics.picturetrail.com/res/pflicks/pt.gif' border='0'></a><a href='http://www.picturetrail.com/misc/counter.fcgi?link=%2FphotoFlick%2Fsamples%2Fpflicks.shtml&cID=925'><img align='left' style='margin-left:5px' src='http://pics.picturetrail.com/res/pflicks/pt2.gif' border='0'></a></p></div>"
}
setTimeout("addbox()",1000)[/quote]
i also inserted this in my css.....
[quote]#friendpic {margin-bottom: 40px! important; border etc etc}
#friendpic h2 { text-align:left! important; font etc etc! important}[/quote]
my profile is non-overlayed, am using FF. Sori for being pesky.
[quote=switpotato][quote=alhakeem]the code works in my profile and included the css part about 'center-align' thingy but i wanted the same header as the other boxes, just like the add box generator does, it carries the same background color as the original box header. would that be possible?[/quote]
yep i already included the css for header at first page .. read it again luk for h2....
heres the sample too.. look at my playlist...
http://profiles.friendster.com/61099256[/quote]