SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2010
    0 Post(s)
    0 Thread(s)

    Question HTML5 SoundCloud, doctypes, IE9


    I'm using the Soundcloud HTML 5 plugin on my site. It is a bit temperamental on IE9. On some computers the play button doesn't work, on some it doesn't display at all, and on some it is fine.

    My Doctype is
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns="">
    Which was automatically set in Dreamweaver. DO I need to change to the HTML doctype, and if I do, will this affect anything else in my site, or the site's functionality in IE7 and 8?

    (I'm using the Soundcloud Flash plugin on IE7 and 8. This is throwing quite a few "There is no attribute..." errors in Dreamweaver but seems to be working)


  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Melbourne, AU
    463 Post(s)
    8 Thread(s)
    You can certainly switch to the HTML5 doctype, and it shouldn't cause any problems. Though it probably also won't fix your button problem, either.

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Whiteford, Maryland, United States
    13 Post(s)
    0 Thread(s)
    Any doctype will do the job and keep browsers standard. It's an issue though, using a transitional doctype, because you are essentially telling the browser that your page is in transition mode from years and years ago. And unless you are serving a mime type for text/xhtml, you aren't using TRUE XHTML, more like fake XHTML. If you were to be using XHTML, and serving the mime type, IE wouldn't be playing along and even showing the website.

    You should really be using a HTML4.01 Strict doctype (for the reasons in the above paragraph).

    As Ralph said, it won't FIX your problems, but changing your doctype (although a few validation errors may go away/come due to the change).

    Are you viewing the page in dreamweaver? Or I assume online on a web browser. Is it different browsers not displaying hte button?
    Always looking for web design/development work.


Posting Permissions

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