treehouse : what would you like to learn today?
Web Design Web Development iOS Development

CSS Media Queries and more?

  • Hi everyone

    I have just been messing around with CSS Media Queries for the first time and I didn't think I would struggle as much as I did with IE9 (seen as though it's so modern and up there with the competition...NOT!).

    I ran into a problem the other day trying to give some boxes on my web page rounded corners by using

    border-radius: 10px

    This just wasn't working with IE9 until I found this line of code and everything worked perfectly;

    meta http-equiv="X-UA-Compatible" content="IE=9"

    And the same goes with my responsive web design test, I added this line of code to my markup and it worked perfectly.

    Just thought I should share this in case anyone runs into the same problem and wastes his or her time.

    Thanks.

  • Here is a good link to read more about it