I have problem with <!DOCTYPE html>. I want to use some js code for private messages to show them in ajax window but i cant cause with <!DOCTYPE html> that js code displays ajax window in bottom of the page instead in midle. When i remove <!DOCTYPE html> everything works fine with ajax but the website is falling apart. I saw some websites on ucoz that use that open layer js code for ajax and they dont have <!DOCTYPE html> in begining of html code.
Ed05, <!DOCTYPE> is a code declaration that instructs web browsers on what semantic library to use or not use. <!DOCTYPE html> tells browsers that you are running HTML5. There are others for HTML4.01 Transitional, etc.
If your popups are moving when you declare a HTML5 doctype it generally means you need to address an issue of inefficient code when looking in terms of HTML5 semantics.
Web Applications Developer Been here for 8 years and counting. Visit me at alexmoloney.me.