Forums

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

Home Forums CSS How to set max-height using calc(Avh-Bx) and not higher than Cpx Reply To: How to set max-height using calc(Avh-Bx) and not higher than Cpx

#281782
Paulie_D
Moderator

So why doesn’t max-height:700px work? I’m unclear what the difference would be.

If 100vh-100px is less than 700px it sounds like you’ll need Javascript.