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 6672019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:27:32+00:00 2026-05-26T03:27:32+00:00

I have a simple requirement ; Apply desktop.css for larger screen sizes AND Apply

  • 0

I have a simple requirement ;
Apply desktop.css for larger screen sizes AND
Apply iPad.css for somewhat smaller screen sizes

Now I want to use CSS Media Queries for these.

<link rel="stylesheet" media="only screen and (min-width: 768px)" href="css\desktop.css">
<link rel="stylesheet" media="only screen and (max-width: 768px)" href="css\ipad.css">

Now I have read that older IE does not have support for min-width. But there is a strange kind of support that I see in IE8
i.e IE8 recognizes min-width as a property, but not as a media query.

So

#example{*min-width:100px;}

works fine in IE8

But this does not

@media only screen and (min-width:100px) 

I have already tried the following for IE

<!--[if IE ]><link rel="stylesheet" media="screen" href="css\desktop.css"><![endif]-->

But I want to apply IE desktop css at a particular min-width only and NOT always..

Is there a JS workaround for this like;

<!--[if IE AND min-width:100px]><link rel...

Please let me know how I can apply 2 set of CSS in IE.

  • 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-05-26T03:27:32+00:00Added an answer on May 26, 2026 at 3:27 am

    Media queries are only supported by IE9+.
    You can use a polyfill like Respond.js for IE6-8 compatibility.

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

Sidebar

Related Questions

I have a simple requirement (perhaps hypothetical): I want to store english word dictionary
I'm using Entity Framework 4.1 and have a seemingly simple requirement: I want to
I have a simple requirement: I have millions of strings, and want to test
I have a simple requirement, i need a map of type . however i
I have a simple requirement as mentioned below: A ListView or any control displays
My SQL is rusty -- I have a simple requirement to calculate the sum
I have an ASP ListView, and have a very simple requirement to display numbers
I have a requirement to create a simple database in Access to collect some
I have a requirement to create a simple windows forms application that allows an
I have a seemingly simple requirement, but i can't figure out how to write

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.