|
uCoz Community For Webmasters Site Promotion How to remove <!DOCTYPE html> |
How to remove <!DOCTYPE html> |
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. Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
| |||
| |||