Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9227957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:12:25+00:00 2026-06-18T05:12:25+00:00

I am performing some testing on IE8 and I am finding that my media

  • 0

I am performing some testing on IE8 and I am finding that my media queries are not being picked up by the browser. In the example below, the .telephone class is always being picked up as the second class declaration and not the first one, with the margin-bottom.

I can’t see what the reason for this would be as the site that my site is based on works correctly on IE8.

I know the window is definitely larger than 640px.

<link rel="stylesheet" type="text/css" media="all" href="<?php echo 'http://' . $_SERVER['SERVER_NAME']; ?>/inc/css/style.css" />   
<link rel="stylesheet" type="text/css" media="all" href="<?php echo 'http://' . $_SERVER['SERVER_NAME']; ?>/inc/css/index.css" />           

@media only screen and (min-width:640px) {
    .telephone {
        padding-top:.75em;
            margin-bottom:.5em
    }
}

.telephone {
    display:block;
    font-size:1.5em;
    font-weight:normal;
    line-height:1;
    padding-top:.5em
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:12:27+00:00Added an answer on June 18, 2026 at 5:12 am

    Screen media queries based on screen width are a CSS3 feature that are supported starting at IE9. IE8 and below will not see them because they do not support the feature. caniuse reference for media queries.

    You would need to use a JavaScript polyfill, such as Respond.js, or if you are using jQuery, you can write your own function that would act similarly. If not using jQuery, I believe you can do the same with normal JavaScript using a similar function where window.onload and window.onresize would be used instead of $(window).load() and $(window).resize(), and use window.innerWidth instead of $(window).width().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF service that is performing some updates across a couple of
I have some python code that currently performs expensive computation by performing the computation
I'm performing a while loop in C#, this is going through some records being
I am unit-testing a method performing some serialization operations. I intend to mock the
I have a download page in php that after performing some checks returns a
I already have a Javascript file (performing some functions), that will be appended to
I have an Cocoa Application (Mac OS X SDK 10.7) that is performing some
I am performing some simulations in python that generates 1000 results. Each result has
While performing some upcoming maintenance, I'm going to have to redirect all site traffic
I'm performing some parameter validation in a method and throwing an exception where necessary.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.