Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Fixing the height of the browser viewport

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #272023
    Zemetor
    Participant

    How can the height of the browser viewport be fixed so that the user can’t scroll the content?

    #272024
    Paulie_D
    Member

    What would be the point?

    Why would you not want your content to be seen on scroll?

    However, you could use a (max-)height of 100vh (and perhaps hide any overflow)….but without knowing what it is you are trying to do it’s hard to comment further.

    #272025
    Zemetor
    Participant

    My questuion was not clear enough. My visible content is around 800px high. When I turn off scroll the user can still resize the hight of the viewport as far as the hight of the screen. I would like to prevent this so the height is fixed and that the viewport’s height can’t be rezised.

    #272026
    Paulie_D
    Member

    I don’t see how that would be possible….the viewport is the size of the program window….it has nothing to do with HTML & CSS..but perhaps I’m still not understanding.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.