+ 1

Why does my sites look weird on different screens

Guys, please why does my website that I coded well on my PC look extra large on my phone and smaller on wider screens with large space, even though I put the meta tag in head. What is the solution?

11th Nov 2019, 9:32 PM
xpan
xpan - avatar
4 Answers
+ 4
Use @media attributes in CSS or you can use responsive CSS framework like Bootstrap or Material Design.
11th Nov 2019, 11:15 PM
A͢J
A͢J - avatar
+ 2
Putting meta tag is not sufficient. You need to use 'vw' as unit for your dimensions or sizes in place of 'px' or %. That is, In place of: height=200 px, Write: height=200 vw Else you can use Bootstrap to make your page responsive.
12th Nov 2019, 5:06 AM
Chetali Shah
Chetali Shah - avatar
+ 2
Thank you Chetali
12th Nov 2019, 6:08 AM
xpan
xpan - avatar
+ 1
Thank you AJ
12th Nov 2019, 6:07 AM
xpan
xpan - avatar