adjust the size of the web | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

adjust the size of the web

how do we make our website look the same for all devices?

28th Nov 2018, 12:05 AM
nurrahman
nurrahman - avatar
3 Answers
+ 1
you have to use % instead of PX in width and height property. Then it auto assigns the width and height depends on the screen width.
28th Nov 2018, 3:22 AM
RAMALINGAM R
RAMALINGAM R - avatar
0
oh thank you one more, How do I make the HTML script work in an Android browser? I tried it with <meta name="viewport" content="width=device-width initial-scale=1 maximun-scale=1">, but it still didn't work.
28th Nov 2018, 12:50 PM
nurrahman
nurrahman - avatar
0
sry buddy i don't know about Android...
28th Nov 2018, 2:11 PM
RAMALINGAM R
RAMALINGAM R - avatar