How to set full view in for in the remaining area | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to set full view in for in the remaining area

For example I have a div. i put the title in it And under the title im gonna make full box on the remaining div area. Can you explain

22nd Aug 2019, 7:00 PM
Bee David
Bee David - avatar
3 Answers
+ 9
You nest another div inside that or calculate your stuff with maths.
22nd Aug 2019, 7:29 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 8
Then you can do it dynamically with javascript.
23rd Aug 2019, 6:46 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
Valen.H. ~ if i calculate with math, sometime im using "%" and sometime im using Pixel, it has different unit.
22nd Aug 2019, 7:39 PM
Bee David
Bee David - avatar