I am pursuing web track for pset8. I am using fixed number instead of percentages for size of each element. How can I make sure that the webpage can fit to all screen / window sizes without getting all elements messed up. Any help would be appreciated. Thank you

PS: I tried using percentages instead of fixed numbers but it just did not look like how I wanted to.


The bane of web developers everywhere! Fixed number cannot work. You could investigate viewport and the vw unit. And of course Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

  • ohk. Thats sad.. i saw viewport and bootstrap earlier but couldn't understand what exactly was going on. I dont want to include something i dont understand in my code. I guess i have to accept that it will just look weird on different screen size.. Thank you very much though
    – Himanshi
    Aug 6 '20 at 12:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .