Yea that is important! possibly one of the most important!
That is your doctype and tells browsers how to render the page.
You could try changing it to this:
- Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
That is a transitional doctype as opposed to the strict one you are using at the moment. Bascially its not as standards ciompliant as the strcit one.
Strict is the best to go with though and your best sticking with that if you have the time to fix your styles - strict is what i recommend.
Read this for more info on doctypes:
Fix your site with the right DOCTYPE!