Solved

CSS - IE Layout issue

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem to Popup 2 52
Box Model and Styling 12 21
How can I make a css class read only with jquery? 2 21
modify h2 4 19
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

762 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

18 Experts available now in Live!

Get 1:1 Help Now