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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:22:10+00:00 2026-05-23T06:22:10+00:00

I use the javascript property screen.width to know which CSS to use… But with

  • 0

I use the javascript property screen.width to know which CSS to use… But with Internet explorer (both 7 and 8, I didn’t tried on 9), the returned value is the one of my main screen (which is not the one I use…).

Does anyone have a solution ? Maybe another property ? (I also tried with screen.availWidth, it didn’t worked)

Nicolas

  • 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-23T06:22:11+00:00Added an answer on May 23, 2026 at 6:22 am

    Maybe you could use the window.innerWidth property? Only downside is, it looks at the window, not the screen, which may not be what you want..

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

Sidebar

Related Questions

What are cons if we use JavaScript to apply only CSS property/selectors to that
I need to know how to use JavaScript to find out from which file
I'm trying to use Javascript's built-in replace() method, but for some reason it won't
Is it possible to use JavaScript to set the cursor attribute to the property
I have the following HTML w/Javascript code (note: this only works in Internet Explorer):
I use JavaScript for rendering 20 tables of 100 rows each. The data for
i use javascript to judge a page is in a iframe: if (this !=
It is possible to use JavaScript inside a view of a Eclipse Plugin?
I want use javascript setInterval function to achieve a box rotate animate effect, I
I need to use javascript to get the itemid of the current page in

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.