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

  • Home
  • SEARCH
  • 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 9002391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:33:52+00:00 2026-06-16T00:33:52+00:00

I am sorry to ask a simple question but I am trying to use

  • 0

I am sorry to ask a simple question but I am trying to use a different style sheet when the window gets smaller or a mobile device is used. Nothing happens when I shrink the browser window smaller. Here is the media query.

<link rel="stylesheet" type="text/css" href="css.css" />
    <link rel="stylesheet" type="text/css"
     media="screen and (max-device-width:500px)"
     href="2ndCss.css" />

Can someone explain why it’s not doing anything? I have tried making the max-device width smaller and I have tried setting it to max-width instead.

  • 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-16T00:33:53+00:00Added an answer on June 16, 2026 at 12:33 am

    If you take careful note of what you have in your media attribute, you will notice that you are using max-device-width. What that means is that the physical device must have a screen size of 500px or less for the media query to kick in. Resizing your browser doesn’t change the physical size of your screen.

    You may be better served using max-width instead of max-device-width.

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

Sidebar

Related Questions

Sorry to ask such a simple question but I am trying to put a
I'm sorry to ask this question but I have spent hours trying to understand
I'm sorry to ask such a simple question, but it's a specific question I've
I am realy sorry to ask so simple question, but I realy can't figure
Sorry for asking such a simple question but I lost really long time trying
I´m sorry but I have to ask a very simple question. My problem is
Sorry to ask such a noob question, but the NDK documentation is wrong (r7b):
Sorry to ask this question again but I tried several solutions on stackoverflow and
I am very sorry to ask such a basic question but I am new
I'm sorry to ask a question but I am useless when it comes to

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.