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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:02:38+00:00 2026-06-10T12:02:38+00:00

This turns out to be really interesting, I have got my question and replies

  • 0

This turns out to be really interesting, I have got my question and replies in this site
media queries and to adapt the ready made site
Now it seems that they only target “width”, what about the height of the screen, the one that is long in width and short in height ?

I would like to fit my topmenu+body+footer into a height of 800px, and also tried out

@media all and (min-height: 768px) and (max-height: 959px) {
div#container{
  position:relative;
  margin:0 auto; 
  height:70%;
  min-height:70%;}

div#content {
  min-height: 350px;
}
}                  

but it is useless.

  • 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-10T12:02:39+00:00Added an answer on June 10, 2026 at 12:02 pm

    You can detect portrait or landscape using:

    /* Portrait */
    @media screen and (orientation:portrait) {
    
    }
    

    or

    /* Landscape */
    @media screen and (orientation:landscape) {
    
    }
    

    Or, if you want to be more precise:

    @media screen and (device-aspect-ratio: 16/9) {
    
    }
    

    or, more commonly used:

    @media all and (max-height: 1000px) and (min-height: 700px) {
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my question and apparently this is the answer . Turns out it
This is not exactly a straight-out question because I have just solved it, but
Update: Turns out this is undocumented behaviour of the NetStream class - NetStream loads
It turns out that in order to do this one has to bind the
I thought I had this figured out but it turns out I'm just deleting
I thought this would be fairly simple but it turns out not to work
I resolved this issue myself. It turns out that the activation framework requires some
I had an interesting job interview experience a while back. The question started really
UPDATE: I managed to get this thing working! Turns out, you NEED to send
First off I would like to apologize beforehand, in case this turns out 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.