Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

HTML & CSS Setting window height

PDJones

New Coder
Hi everyone,

Please bear with me as this is all very new to me.
I am trying to find a way set the minimum height of the browser window that contains my webpage, i.e. to prevent the browser height becoming too small if the user drags the botton of the browser upwards.

I would like the browser window to fit the element(s) on my webpage.

I have searched online and watched videos.
I hope this makes sense to you.
Please can anyone help with this as I am pulling what little hair I have left out trying to sort this!

Thanks in advance
 
Hi everyone,

Please bear with me as this is all very new to me.
I am trying to find a way set the minimum height of the browser window that contains my webpage, i.e. to prevent the browser height becoming too small if the user drags the botton of the browser upwards.

I would like the browser window to fit the element(s) on my webpage.

I have searched online and watched videos.
I hope this makes sense to you.
Please can anyone help with this as I am pulling what little hair I have left out trying to sort this!

Thanks in advance
Please find attached my file for the webpage, I have attached it for you in the hope that you can find where I am going wrong etc
 

Attachments

  • Test.txt
    3.4 KB · Views: 2
Trying to take away the power that the user has will only get you in trouble. Setting a minimum height will not stop the browser from collapsing to it's smallest size. You need to re-think what you want. Maybe tell the user how many questions there are or have the word more with an arrow displaied if things are small in heigth like a cell phone.
 

New Threads

Buy us a coffee!

Back
Top Bottom