Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 9 of 9
Like Tree3Likes
  • 1 Post By Ronald Roe
  • 1 Post By DerrickE
  • 1 Post By RDesignista

Thread: Get site to work in ie 8 and below

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Location
    Virginia
    Posts
    9
    Member #
    36451

    Get site to work in ie 8 and below

    I'm embarassed to have to ask this, but I have tried everything I know and can't get this to work.

    I'm not sure if even worrying about older IE browsers if worth it anymore, buth my issue is getting a web site designed with HTML5 to render in IE8 and older. I have gotten sites in the past to work by downloading and linking to modernizr or by referencing the html5 shiv in the Google code repository. However, lately I seem unable to get HTML5 to render properly in older browsers.

    In this instance, I am trying to reference the repository by placing the following in the head of the website:

    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    And, in CSS3, I have set all elements to display: block;

    However, everything is a jumbled mess in IE8. Any advice would be greatly appreciated.

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    You answered your own question:
    Quote Originally Posted by Derron Bowman View Post
    I'm not sure if even worrying about older IE browsers if worth it anymore
    Are there any errors in the console?
    Derron Bowman likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  4. #3
    Junior Member
    Join Date
    Jun 2013
    Location
    Virginia
    Posts
    9
    Member #
    36451
    Quote Originally Posted by Ronald Roe View Post
    You answered your own question:


    Are there any errors in the console?
    No errors. All pages validate. Just kind of frustrating that I can't get it to work. Oh well, think I've wasted enough time on it - on to bigger and better things. Thanks Ronald

  5. #4
    Member DerrickE's Avatar
    Join Date
    Jul 2007
    Location
    Houston, TX
    Posts
    58
    Member #
    15580
    Liked
    10 times
    IE8 cross-domain issues.
    Download the file (right click, save as) http://html5shiv.googlecode.com/svn/trunk/html5.js to your computer
    Upload the file to your actual domain.
    Change your code to refer to the local copy and not the googlecode one.
    Code:
    <!--[if lt IE 9]>
    <script src="path/to/html5.js"></script>
    <![endif]-->
    RDesignista likes this.

  6. #5
    Senior Member RDesignista's Avatar
    Join Date
    Feb 2012
    Location
    Coconut Tree City
    Posts
    822
    Member #
    30921
    Liked
    123 times
    Derrick is onto something.

    IE8 doesn't support HTML5's new html tags like <header> <section> <article> and that will make IE8 look like poop if you are using those new tags for your site structure.

    HTML5 shiv basically detects if you're using non-html5 ie and then makes the tags change from <header> to <div class="header">. Something like that.

  7. #6
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Quote Originally Posted by RDesignista View Post
    HTML5 shiv basically detects if you're using non-html5 ie and then makes the tags change from <header> to <div class="header">. Something like that.
    All the shiv does is create the elements in the DOM so they're available for styling. You use an HTML conditional comment to "detect" the version of IE. It won't actually replace anything.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  8. #7
    Senior Member RDesignista's Avatar
    Join Date
    Feb 2012
    Location
    Coconut Tree City
    Posts
    822
    Member #
    30921
    Liked
    123 times
    Quote Originally Posted by Ronald Roe View Post
    All the shiv does is create the elements in the DOM so they're available for styling. You use an HTML conditional comment to "detect" the version of IE. It won't actually replace anything.
    Oh. I stand corrected. Thanks Ronald.

  9. #8
    Junior Member
    Join Date
    Jun 2013
    Location
    Virginia
    Posts
    9
    Member #
    36451
    Quote Originally Posted by DerrickE View Post
    IE8 cross-domain issues.
    Download the file (right click, save as) http://html5shiv.googlecode.com/svn/trunk/html5.js to your computer
    Upload the file to your actual domain.
    Change your code to refer to the local copy and not the googlecode one.
    Code:
    <!--[if lt IE 9]>
    <script src="path/to/html5.js"></script>
    <![endif]-->
    Thanks for the suggestion Derrick. I will give it a try tonight.

  10. #9
    Senior Member
    Join Date
    Nov 2013
    Posts
    146
    Member #
    37737
    Liked
    15 times
    ie8/xp need to die already.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:43 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com