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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:27:21+00:00 2026-06-15T16:27:21+00:00

I have created a stylesheet for mobile devices. Im loading it with this: <link

  • 0

I have created a stylesheet for mobile devices. Im loading it with this:

<link rel="stylesheet" media="handheld, screen and (max-width: 650px)" href="/mobile.css?t=<?php echo rand(); ?>" />

inside that file I have:

@media handheld, screen and (max-width: 650px) {
     -- Styles here
}

@media handheld, screen and (max-width: 446px) {
     -- Styles here
}

It works when i resize browser, but for some reason at least on android i see the normal web, any idea?

  • 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-15T16:27:22+00:00Added an answer on June 15, 2026 at 4:27 pm

    There are a number of reasons why this may be happening:

    1. Your Android doesn’t support media queries. There are a handful of Android devices out there that don’t recognize media queries, your droid may be one of them.

    2. Your media query is not being interpreted how you think it’s being interpreted. Are you looking for “handheld, (screen and max-width: 650px)”, or does it have to be a handheld screen with a max-width of 650px? If you’re expecting the first, you might actually be getting the latter. If that’s the case, then you probably won’t ever trigger that code, because very few smartphones register themselves as “handheld.”

    3. Your screen width is not what you think it is. Just because you have a screen that is 1.5″ by 3″, it doesn’t mean your resolution tops out at 650px or even 446px. Thanks to the high densities that these smartphones can achieve, your droid may actually have a high resolution than your desktop monitor. The iPhone5, for example, would only read your first query and only in portrait mode, because its smallest side is 640px, with the longer side being 1136px. The largest that the Android OS supports is a whopping 2560×1600 resolution!)

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

Sidebar

Related Questions

I have created a style for media= print like this: #content .inner h2 {
I have created a CSS stylesheet for my project. Is there any way I
I have created a web page (ASP.NET) that includes a stylesheet to mimic Dynamics
This isn't really a technical question, but I essentially have two sites, a mobile
I have a swatch which I created using the jQuery Mobile themeroller ( http://jquerymobile.com/themeroller/?ver=1.1.1&style_id=20120909-36
JQuery Mobile, Bootstrap and CSS3 Media Queries What combination to use To have an
I have created a Helper method in MVC3 Razor project as(Helpers.cshtml) @helper Link(string fileName,
Below is the report that I have created using xsl and xml and this
I have created a sample web application using jQuery Mobile. I have created two
I have created a tiny Jquery Mobile app in a single HTML page. The

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.