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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:22:18+00:00 2026-06-08T22:22:18+00:00

I was looking for my answer @ CSS media query but couldn’t find it

  • 0

I was looking for my answer @ CSS media query but couldn’t find it so I thought I would ask here.

Can CSS media queries be used offline/locally? I’m building a webpage it’s all on shared network drives and I’m trying to setup different stylesheets based on resolution and I want to use CSS media queries min-width but they don’t seem to be working and I’m wondering if it’s because my site isn’t live? (similar to how favicon doesn’t work locally, only on hosted sites).

An example would be:

    <style type="text/css">
        @media all and (min-width: 1024px) {
            background-image: url(images/bigbg.jpeg);
        }
        body {
            width: 1000px;
            background-image:url('images/test.PNG');
            background-repeat:repeat;
            overflow-x:scroll;
        }
    </style> 

Any suggestions? Much appreciated 🙂

  • 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-08T22:22:19+00:00Added an answer on June 8, 2026 at 10:22 pm

    Should work locally, but you need to define what’s changing. Try:

    Original:

    @media all and (min-width: 1024px) {
            body {background-image: url(images/bigbg.jpeg);}
    }
    

    Even better:

    @media all and (min-width:1024px){
            body{background:url(images/bigbg.jpg)}
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Was looking for the answer on the net, but couldn't find anything. This little
I've done some searching but couldn't find the answer I was looking for. If
I've been reading about the 'only' keyword but can't find a definitive answer to
I have been looking for an answer to this on Stack Overflow, but I
I have been looking for an answer to this and could not find it
I'm just learning about SproutCore now, seems great. But I can't find a good
Hi people i have looked around but cant seem to find the answer i'm
I can imagine the correct answer to this based on theory, but I'm just
This question was kind of touched before but not the answer I was looking
Sorry if this question may be simple, but I can't seem to find an

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.