Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CSS - IE Layout issue

Posted on 2011-03-05
5
Medium Priority
?
310 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 1000 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 1000 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

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…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
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…
Suggested Courses

772 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