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

#281783
wellingtonfoz
Participant

Yes, it is because sometimes 100vh-100px is less than 700px and I dont want the div goes out of the view area.
So, I think I have to control this using JS.

Thanks.