Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder boogily's Avatar
    Join Date
    Jul 2009
    Posts
    275
    Thanks
    18
    Thanked 4 Times in 4 Posts

    IE8 not using the responsive CSS

    http://happydogdev.com/hdwp

    Works great so far in all browsers except <IE8, of course.

    The site is being developed on twitter Bootstrap. At the bottom of the template.css file, http://happydogdev.com/hdwp/template...s/template.css, are the specific media queries that aren't working.

    Banging my head off the wall, probably something simple. Any ideas?
    Joomla Development Company and MN SEO
    "Joomla development from design to SEO"

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,684
    Thanks
    22
    Thanked 1,828 Times in 1,812 Posts
    Hello boogily,
    Any time IE doesn't work when other browsers do the very first thing to check would be your DocType.

    Your page is running in quirks mode because of the comment ahead of your DocType Declaration. Remove that comment and see what happens.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,867
    Thanks
    6
    Thanked 1,029 Times in 1,002 Posts
    Did you care to consult the internet before?
    http://stackoverflow.com/questions/1...n-ie8-or-lower

  • #4
    Regular Coder boogily's Avatar
    Join Date
    Jul 2009
    Posts
    275
    Thanks
    18
    Thanked 4 Times in 4 Posts
    That's odd. I spent a while searching, I don't know how I missed that post. I fixed the doctype and had to add some JS and a conditional IE css file. Dumb. Apparently IE8 doesn't work well with media queries, which is what Bootstrap is built on. Yikes. I wish IE would just stop making browsers. Ugh

    Now it is 90% there. For some reason, there is a background color sticking to the top right nav, when the css says it shouldn't be there. For now, that is my only issue I see.
    Joomla Development Company and MN SEO
    "Joomla development from design to SEO"


  •  

    Posting Permissions

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