Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a best practice for handling browser resizing?

I feel like GMail is an excellent example of best practices in action, but I'm looking for a more theoretical code-based approach. CSS? JavaScript? jQuery? Let's hear it.

like image 388
Zack Burt Avatar asked Jan 01 '26 22:01

Zack Burt


1 Answers

Most web application use proper document layout and CSS to make the flow work itself out naturally when the user resizes the browser window, without executing any script at all. This is exactly what the CSS properties display, position, float, clear, etc. are for.

like image 185
tdammers Avatar answered Jan 03 '26 14:01

tdammers



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!