Solved

CSS - IE Layout issue

Posted on 2011-03-05
5
304 Views
Last Modified: 2012-05-11
http://www.precicut.co.uk/home.html

Why does IE not mover the header to the top?

Thanks.
0
Comment
Question by:Luv2Muff
  • 3
5 Comments
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 250 total points
ID: 35043448
The <header> tag is new in HTML 5. You will get inconsistent results across different browsers. I would place it in the area above the content where you want it to display on the page. I don't think that IE fully supports HTML 5 until IE 9 comes out, though each browser is adding new features all of the time.

http://www.w3schools.com/html5/html5_intro.asp
0
 

Author Comment

by:Luv2Muff
ID: 35043766
Perfect, thank you.
0
 
LVL 6

Assisted Solution

by:kmead6
kmead6 earned 250 total points
ID: 35047152
If you're going to use HTML5 tags it helps to put this script in your head tags to get it to recognize the new tags like header, etc.

<!--[if IE]>
      <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <link rel="stylesheet" href="../css/ie.css" type="text/css" /><![endif]-->
0
 

Author Comment

by:Luv2Muff
ID: 35093572
@kmead6 - thanks for the tip!
0
 

Author Closing Comment

by:Luv2Muff
ID: 35465415
Thanks guys
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Character counter breaks after adding EmojiOne Area 4 45
Can't get js code to execute 8 29
White space in figure / img 4 18
HTML question 2 23
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question