SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Oct 2006
    Posts
    170
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Strange issue with CSS

    Hello,

    I'm trying to figure out why my CSS works correctly when viewed publicly, but not on my internal web server.

    The menu works correctly at:
    http://crango.uofydating.com/test/new.php

    However, when I upload exactly the same code on my internal web server, and view it in exactly the same browser (IE 8), I see the attachment.
    2014_01_13_084620.png

    Any ideas what might be occurring?

    Thanks

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,225
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    Your internal web browser may be in compatibility mode. Makes it work like it was IE7 or earlier.

  3. #3
    SitePoint Zealot
    Join Date
    Oct 2006
    Posts
    170
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I managed to solve it with:

    <meta http-equiv="X-UA-Compatible" content="IE=8" />

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,803
    Mentioned
    158 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by spf00 View Post
    I managed to solve it with:

    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    You would be better off with 'edge' as you don't want newer versions to behave like buggy ie8

    Code:
      <meta http-equiv="X-UA-Compatible" content="IE=edge">


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
  •