Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

CSS - IE Layout issue

Posted on 2011-03-05
5
302 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to Left-Align Navigation bar? 4 34
Slider Moving to right hand side CSS? 2 31
Width of Page is Affecting Side Menu 6 31
Why "Mobile First"? 5 16
Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

790 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