Results 1 to 3 of 3

Thread: Hack for IE7 and IE8

  1. #1
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Hack for IE7 and IE8

    Add this code to any web page (in vShare it's usually header.tpl and right before the </head> tag) to get IE7 / IE8 to behave like standard-compliant browsers:

    Code:
    <!--[if lt IE 8]>
    <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
    <![endif]-->
    The java download and article found here: http://code.google.com/p/ie7-js/

    You can either directly link to the .js file on google or download it and put it on your local server. The posted code will directly link to the file on Google so all you have to do is copy and paste the code and voila...your site will look the same in IE as it does in FF. ;)
    If it's not fun, stop doing it!

  2. #2
    Join Date
    May 2007
    Posts
    394

    Default Re: Hack for IE7 and IE8

    What if you like the way your site look in IE better... is there a fix for Firefox?

    Frankly I don't get what people like about Firefox. I've tried it no less than half a dozen times in its lifetime, and without exeption I've gone back to using IE each time.

  3. #3
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Hack for IE7 and IE8

    Then don't use the hack ;)

    The problem with IE is mainly for web designers who like to make pages look the same in as many browsers as possible (cross-browser compatible). One can make a page that looks one way in IE and then looks different in FF because IE is not standards-compliant...and quite often everything is out of whack when the pages are compared between the different browsers (quite often IE being the one out of whack).

    This hack will force IE to act like a standards-compliant browser for the pages that the code is included in so that when one is designing a page, it will look the same in IE as it does in FF, Safari, etc.

    Also, webpagesthatsuck.com advises web designers that if we don't try and make web pages look good in as many browsers as possible, it's sending the message to the visitor that "We don't respect you enough to make our web site look good in your browser."
    If it's not fun, stop doing it!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •