I have done a program which looks differently in different devices. what should I do to look my program equally in all devices ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I have done a program which looks differently in different devices. what should I do to look my program equally in all devices ?

Should I change the CSS. Every time when I do program I did'nt notice this thing and when I saw this result in my second phone I saw that the elements are toally in wrong position.

24th Jun 2020, 12:47 PM
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU - avatar
2 Answers
+ 5
You can you media queries to sort out this problem. It will help https://www.w3schools.com/css/css3_mediaqueries.asp
24th Jun 2020, 12:49 PM
🔥VENAGE🔥
🔥VENAGE🔥 - avatar
+ 2
You should use % instead of fixed pixels and also read about flex-box and grid
24th Jun 2020, 12:55 PM
Abhay
Abhay - avatar