Carlos Blé & Associates

Carlos Ble



We solve problems

  • Count on us to deliver high quality tailor-made software
  • We provide training on TDD, clean code, refactoring and JavaScript
  • We are committed consultants
  • We help teams deliver value

  Developing software since 2001


problems with DOCTYPE and Javascript

The way in which the browser interpret the document change when the DOCTYPE changes. You can read about DOCTYPE here. The question is that you need to declare a DOCTYPE to build a valid document and there are several problems. One of this is that the way in which Firefox interprets javascript seems to be different when you add "DOCTYPE" to your document. I am using a fantastic library called Boxover to draw floating boxes but today it crashed when I added the DOCTYPE. Here is my little patch for this

Enjoyed reading this post?
Subscribe to the RSS feed and have all new posts delivered straight to you.