briandroberts
briandroberts

Reputation:

Internet Explorer and Firefox alignment elements differently on site

When my site is rendered in Firefox, the text "Find A Maths Tutor" is directly above the text "Private Maths Tutor":

Firefox rendering

This is how I want it.

When the same page is rendered in Internet Explorer, the text "Find a Maths Tutor" is above but to the left of "Private Maths Tutor":

Internet Explorer rendering

How can I have the "Find A Maths Tutor" element the same way in Internet Explorer as it is in Firefox?

Upvotes: 2

Views: 178

Answers (1)

duri
duri

Reputation: 15351

There is a comment before doctype in your markup:

<!--- start of common-head-and-right.php        -->

This causes that Internet Explorer renders your website in quirks mode, with behaviour similar to IE5. Remove the comment, <!doctype> must be the first thing in your markup.

Upvotes: 9

Related Questions