CSS Question (fooling with QuestJS)

K.V.

Let's say I have some HTML like this:

<body>
  <div id="gameBorder">
    <div id="gameContent">
      <div id="divOutput">
      <input id="txtCommand">
      </div>
    </div>
  </div>
</body>

I know... I left some stuff out, but how do I make the gameBorder (or the gameContent) element have left and right borders that go from the top to the bottom of the screen, instead of just down to the input box?

Something to do with min-height I assume...


Try this:

div#gameBorder {
    height: 100vh;
}

K.V.

That does it!

Thank you!!!


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums