how to set a page in html so that it fills the full screen? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

how to set a page in html so that it fills the full screen?

I am designing a calculator android app using html css and js! when I convert the html page to apk it doesn't covers the whole screen... what should I do to solve this problem with no knowledge of java and android language?

15th Sep 2017, 4:30 AM
Avijit Das
Avijit Das - avatar
2 Antworten
+ 19
Perhaps CSS: body { width:100vw; height:100vh; top:0; left:0; }
15th Sep 2017, 4:35 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
html,body { width:100%; height:100%; }
15th Sep 2017, 9:11 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar