SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot blackberryfan's Avatar
    Join Date
    Nov 2010
    Location
    middleOnowhere, South Africa.
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Iexplorer wont load css, firefox does?

    Hi guys,

    I am having a problem with the site im busy creating. I noticed today that for some reason when i view any the pages using internet explorer it has no css formatting. This is odd because it was working a few weeks ago when i last tried it. I have no idea what changed and its weird because in firefox and on my blackberry browser the pages displays perfectly fine.

    Can someone have a look and tell me what i messed up? I know it has to be some kind of oneline fix, or a problem with the way my metas are set up.

    The site adress is http://www.free4blackberry.com/

    Thanks alot in advance if anyone can help me!!!

    O and p.s. please tell me what you think of the site, its the first one i have made

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2010
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it's down to the media query in the first css line

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,288
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    You need to give IE the style_main.css using Conditional Comments because it doesn't understand the media query.

    Code:
    <!--[if IE]><link rel="stylesheet" type="text/css" href="http://www.free4blackberry.com/sitefiles/styles/style_main.css  media="screen" /><![endif]-->

  4. #4
    SitePoint Zealot blackberryfan's Avatar
    Join Date
    Nov 2010
    Location
    middleOnowhere, South Africa.
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B View Post
    You need to give IE the style_main.css using Conditional Comments because it doesn't understand the media query.

    Code:
    <!--[if IE]><link rel="stylesheet" type="text/css" href="http://www.free4blackberry.com/sitefiles/styles/style_main.css  media="screen" /><![endif]-->
    Thanks alot for your help everyone! That sorted the problem out for me. Really appreaciate it, so thank you again!


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
  •