Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8334363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:19:28+00:00 2026-06-09T03:19:28+00:00

Since I’m a beginner and needed to get a relative’s site up quick, I

  • 0

Since I’m a beginner and needed to get a relative’s site up quick, I purchased a pre-made template. I originally had everything in plain HTML and all the pages showed just fine in Chrome, FF, IE and Safari. Thinking that the pages will grow and it’d be good to put the header, navigation and footer in include files, I did that without much trouble and everything was going well while testing in Chrome, FF and Safari. IE (I’m using IE9) is a different story. All pages are pushed to the far left of the screen.

What confuses me is that I’ve changed NO code other than creating the includes and changing all the html pages over to php so it picks up the includes. If I remove the includes and put the header, navigation and footer back into a plain html page… it works perfectly again in IE.

Here’s a test page I have up.

Here’s the CSS.

In an effort to reduce the page size of this posting, I’ve linked to it via PasteBin. If this is a violation of any rules or frowned upon by this community, I apologize. Let me know and I’ll put it all here in this post.

I’ve already tried to change the margin in the CSS from ‘0’ to ‘auto’ (lines 3 & 12), and it didn’t do anything. Not that it should have, I was just trying anything.

If this question has already been answered for my specific situation, I apologize and if someone could point me in the direction of the previous answers, that would be great. I searched, but didn’t see anyone that had the same situation where it worked fine in html but broke when put in php includes.

Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:19:30+00:00Added an answer on June 9, 2026 at 3:19 am

    Your DOCTYPE has gotten messed up. The first output line of your header (or wherever your opening <html> is) should be

    <!DOCTYPE html>
    

    The DOCTYPE declaration must be the first line of your output before the HTML tag, or IE reverts to Quirks mode (IE 5.5 compatibility mode).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since Intellij does not yet support the Play-Scala-Template-Engine I was thinking about using plain
Since python has way to do nearly everything I was wondering is there any
Since multiple requests can slow down the speed at which a site loads, I
Since I added some scrollTop -animation, some parts of my callback get called twice:
Since Objective-C is basically an extension of C, Does the code get converted to
Since Java 5, we've had boxing/unboxing of primitive types so that int is wrapped
Since CS3 doesn't have a web service component, as previous versions had, is there
Since yesterday afternoon I had trouble installing Glassfish Server Tools in Eclipse Indigo and
since memcpy should be highly optimized nowadays, does it still make sense to optimize
Since regular jQuery animations are not fluent on iOS ( .hide() , slideDown() ),

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.