SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE not recognizing border-radius, but only on our site

    Here's the test page with a basic border-radius element. Here is the same exact code hosted elsewhere.

    On IE 11, the test box simply doesn't have rounded corners... but shows rounded edges, with the same exact code, on other sites just fine.

    The IE code inspector here shows that it's just not even recognizing border-radius as a legitimate attribute - but again, only for our site.

    Any idea why this is happening?

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,527
    Mentioned
    62 Post(s)
    Tagged
    2 Thread(s)
    If this line exists on your site:
    Code:
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    change it to this
    Code:
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,372
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    As Ron said you are using the ie8 meta tag which makes ie8 + all behave like ie8 and is a very bad thing to do unless you have specific script only written to work in IE8. You lose all the benefits of any new css and much better behaviours in ie9+.

    If you use the 'edge' meta tag as Ron suggests then IE will always render the page in standards mode (avoiding people clicking the compatibility button by mistake) and will render as the browser version that is being used (e,g, IE8 renders as IE8, IE9 renders as IE9, IE10 renders as IE10 and so on...).


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
  •