+ 4

How to fix screen fit problem?

Hi, See http://Fbna.me/data.php Notice: Screen width not fit. Give me solution, How to fix? Zoomed?? I have tried width 100%

22nd Jan 2018, 7:38 AM
Sheraz Ali
Sheraz Ali - avatar
4 Answers
+ 7
Use this inside <head> tag. <meta name="viewport" content="width=device-width, initial-scale=1" >
22nd Jan 2018, 7:49 AM
Adnan Zawad Toky
Adnan Zawad Toky - avatar
+ 5
You should also set margin:0 to the body element.
22nd Jan 2018, 7:53 AM
Adnan Zawad Toky
Adnan Zawad Toky - avatar
+ 2
Thank You, Problem solved 😍
22nd Jan 2018, 7:52 AM
Sheraz Ali
Sheraz Ali - avatar
+ 1
try 100vw and 100vh. It would be better if you post the code here so we can easily solve the problem.
22nd Jan 2018, 7:40 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar