Solved

CSS - IE Layout issue

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now