Using Max-Width instead of Width
Using max-width instead of width in this situation will improve the browser's handling of small windows. This is important when making a site usable on mobile. Resize this page to check it out!
By the way, max-width is supported by all major browsers including IE7+ so you shouldn't be afraid of using it.
Written by iModDesign
Related protips
1 Response
I'm afraid responsive design is bit more involved than just sticking max-width everywhere. But nice tip.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css layout
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#