Log In · Register

 
Music isn't playing in div layout, Not in Firefox or Internet Explorer. :(
Skem9down
post Feb 20 2008, 07:09 AM
Post #1


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2008
Member No: 609,034



How would I make my music play in the background?

Thanx in advance.

About Me:

<style type="text/css">
.btext, .contacttable, .lightbluetext8, .nametext, .orangetext15, .redlink, .whitetext12 {display:none;}

div table td font, table td div, td.text table, table table table {visibility:hidden;}

div table table td font a, table table td div, td.text table table, tr, td.text table table td.text {visibility:visible;}

.navbar{display:visible;}

table table table table div, div strong {height:0px; visibility:hidden;}

table table table table table div, td.text div {visibility:visible;}

table td div {visibility:hidden;}
table table td div {visibility:visible;}
table, tr, td {background-color:transparent;}

font, td, a,table, body, td, li, p, div, li, h1, h2, p, br,.text,small,big,sup,sub{
color:0085ee;
font-size:9px;
cursor:default;
font-weight:normal;
line-height:10px;
letter-spacing:0px;
font-family:georgia;
text-decoration:none;
text-transform:uppercase;}

a:link, a:active, a:visited{font-family:Tahoma; color:0085EE; font-size:12px;text-decoration:none;}
a:hover{font-family:arial;font-size:9px;color:292929;font-weight:bold;background-color:0085EE;text-decoration:overline;}

body {
background-color:292929;
background-image: url('');
background-repeat: repeat;
background-attachment: scrolls;
background-position: center;
position: absolute;
scrollbar-face-color:0085EE;
scrollbar-3dlight-color:292929;
scrollbar-shadow-color:0085EE;
scrollbar-darkshadow-color:292929;
scrollbar-arrow-color:0085EE;
scrollbar-track-color:292929;
}

.MaIn {
background-color: 292929;
background-image: url('http://i65.photobucket.com/albums/h237/ntoit2004/templates/newbackgroundimage.jpg');
background-repeat: no-repeat;
background-attachment: scrolls;
background-position: center;
position: absolute;
left: 40%;
margin-left: -400px;
top: 130px;
height: 1050px;
width: 1024px;
overflow: auto;
z-index: 1;
}



.Aboutme
{background-color: 000000;
position: absolute;
left: 50%;
top: 245px;
margin-left: -340px;
width:120px;
height: 120px;
overflow:auto;
z-index: 1;}


.whatever
{background-color: transparent;
position: absolute;
left: 50%;
top: 535px;
margin-left: -100px;
width:350px;
height: 200px;
overflow:auto;
z-index: 1;}


.links
{background-color:transparent;
position: absolute;
left: 50%;
top: 510px;
margin-left: -330px;
width: 150px;
height: 255px;
overflow:auto;
z-index: 1;}


a.con:link, a.con:active, a.con:visited {
font-family: Candara, arial;
font-weight: none;
font-size: 9px;
color: 000000;
width: 103px;
line-height: 28px;
background-color: transparent;
margin: 2px 0px 2px 0px;
display: block;
text-align: center;
text-decoration: none;
letter-spacing: 2pt;
}

a.con:hover {
color: 0085ee;
font-weight: bold;
font-family: Candara, arial;
font-size: 9px;
letter-spacing: 2pt;
width: 103px;
line-height: 28px;
background-color: transparent;
display: block;
text-align: center;
}

.comt td, .comt table {
width:0px!important;
height:0px!important;
background-color:transparent!important;
border:0px!important; _padding:2px!important;}

.comt .comt td, .comt table, .comt td a img,
.comt td td td a, .comt td b a, .comt td .redlink{visibility:visible;}

.comt td td td b{top:0px; display:inline;}
.comt .orangetext15, .rid{display:none !important;}
.comt td b, .blacktext10 {display:block;}
.comt table, .comt td b, .comt .btext, .redlink { position:relative; top:-9px;}
.comt {z-index:7;} .orangetext15 { visibility:hidden;}

.comt {
background-color:transparent;
background-image: ();
background-repeat: no-repeat;
background-attachment: scroll;
background-position: bottom center;
position: absolute;
left: 33%;
margin-left: -60px;
top: 980px;
height: 120px;
width: 385px;
border: ;
overflow: auto;
z-index=4;
}


.blacktext10 {
width: 600px !important;
display:block !important;
height:18px;
background-image: url('');
background-repeat: repeat x;
text-align:center;
}
.blacktext10{border: 0px ; border-color:;}

{friends and comments}

.comt a img {width:80px;}
.comt td, .comt table{width:0px!important; height:0px!important; background-color:transparent!important; border:0px!important; _padding:2px!important;} .comt, .comt td, .comt table, .comt td a img, .comt td td td a, .comt td b a, .comt td .redlink{visibility:visible;} .comt td td td b{top:0px; display:inline;} .comt td td td table, .comt .redlink, .comt .btext, .rid, .frnd{display:none;} .comt td b, .blacktext10 {display:block;} .comt {z-index:7;}
.comt table, .comt b {position:relative; top:-30px; _top:-30px;}
.comt td b{display:none;}

.commentlinks a { font-weight:normal; font-size:10px; }

</style>






 
 
Start new topic
Replies (1 - 2)
missDanish
post Feb 20 2008, 07:26 AM
Post #2


Senior Member
***

Group: Member
Posts: 40
Joined: Feb 2008
Member No: 622,693



I'm a real newbie so I wouldn't know how to do it via code but for my div layout I just added music to my profile and then chose the option that makes it play automatically when you open the page. It worked for me on Internet Explorer :)


 
miyashu
post Feb 20 2008, 09:35 AM
Post #3


cake or DEATH
*****

Group: Staff Alumni
Posts: 631
Joined: Sep 2005
Member No: 223,586



Use this code; copy and paste it into your About Me section:

CODE
<style>
<embed style='display:none' src='MUSIC URL HERE' AUTOSTART='True' LOOP='1'>
</style>


If you want your music to play continuously, you change the '1' to 'True'
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: