Recently, I have developed a website for my project and was using a 10-inch laptop during the development time. It looked fantastic on a 10-inch screen. However, I faced a problem with the width (CSS properties needed to be changed) of navigation bar on the top when I tried tried running the website on 15-inch screens.
How do you developers avoid problems like this? and other problems like CSS3/HTML5 cross-browser compatiability?