I have a html page. I want to make sure that if I resize the window, the contents also get resized so as not to get scrolled horizontally. What can I do?
Don't use absolute widths and heights. Set all values to percentages instead. Thats pretty much all you can do.
Minimize your use of static widths. The browser will do most of the work for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With