How do I play a music file continuously on website

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like the music file to continue to play no matter what web page you
go onto on my website. So it is like playing in the back ground and not just
on the Index page
 
One way is to create a site with frames where the top frame is very small
and put the music in that frame.
 
What I was thinking was a style such as
frame.x {width:1px ; height:1px; display:none;}

This would be totally invisible, wouldn't it?

I assume one can apply styles to frames
 
You could try using CSS in for the BODY of the top frame. Ex:

body {
margin:0;
border:0;
padding:0;
height:1px;
overflow: hidden;
}


margin:0; - removes the body margin.
border:0; - removes the body border.
padding:0; - removes the body padding.
overflow: hidden; - this has the effect of hiding the scroll bars in
Internet Explorer.
 
Back
Top