Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2009
    Posts
    59
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Thumbs up background Music problem

    hi i want to add a background music to a page and i used
    Code:
    <bgsound src="Jazz Bar medium.mp3" loop="infinite">
    Option and its working good with ie-8 but its not working with both Firefox and the chrome.Please some one help me fix the problem please.

    regards
    Vijji

    Here's the Live Demo Of the Page

    Here's the Mark Up :

    Code:
    <!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=utf-8" />
    <title>Testing</title>
    <link href="css.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    <p align="center"><bgsound src="Jazz Bar medium.mp3" loop="infinite">
     <img src="images/cartoon_gorilla.gif" width="260" height="271" /></p>
    <h1 align="center" class="txt"><strong>This is a texting page</strong></h1>
    <h1 align="center">&nbsp;</h1>
    <p align="center">&nbsp;</p>
    </body>
    </html>

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    bgsound is IE only. My suggestion, lose the music all together. It will drive away your users unless you are a music site. If you don't care then look into using a flash mp3 player. There is a lot of them out there, many of them free.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •