Screen size problems!!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Screen size problems!!!

Screen size of a webpage is okay in laptop (large screen size) but in smaller sizes div n elements are floating, am getting width increased and white space in right side :(.... also i didn't used bootstrap grid systems nor media queries. Can anyone suggests something?! Am stuck at it.

20th Mar 2020, 2:58 AM
sagar panwar
sagar panwar - avatar
4 Answers
+ 3
Just some simple thing to add, instead of specifying the width of the page as a unit measurement based on the laptop screen, do this, change the width to 100% i.e width="100%" and this will make the page load up a width filling up the whole of the page of any device it is loaded on. Happy coding 😊 Keep coding 🙏
20th Mar 2020, 4:57 AM
Alfred Juma
Alfred Juma - avatar
0
Ok will try this.
20th Mar 2020, 5:19 AM
sagar panwar
sagar panwar - avatar
0
Ok checking it, thanks
21st Mar 2020, 2:08 AM
sagar panwar
sagar panwar - avatar