Assuming a fluid layout is not an option (since that is a different discussion all together), what is the recommended width for a site layout? What are the pros and cons of different sizes?
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
- implementing html5 drag and drop photos with knock
- Adding a timeout to a render function in ReactJS
If you use a fixed width that is any wider than the smallest screen likely to visit your site, you will annoy and frustrate users who have to scroll sideways to get to the rest of your content.
Please keep in mind that monitor resolution often quoted in statistics is not necessarily the same thing as inner width of browser window. Users may have additional sidebars/toolbars, use non-maximized browser window. The bigger the screen, the less likely you want to use it all just for one page.
Very long lines of text are harder to read. The optimum is 25-30em (depends on many factors, but you shouldn't simply go for maximum).
Mobile browsers have "virtual" screen resolution they use for zoom and it's ~960px in Opera Mini/Mobile and Mobile Safari.
I vote to divide the motion here. Just because screen sizes are X doesn't mean that X or anything that is close to it is the best design for your website.
Your website purpose has a lot to do with the width that you choose.
Many marketing experts think that a more narrow column "converts" more visits into sales. Perhaps this is because it is easier to direct people's attention if the page is narrow.
On the other hand, a site dedicated to images should show at the best available resolution for each visiting browser.
You could try developing multiple layouts and use Javascript to switch between them depending on the visitor's window.innerWidth
That said, I usually use something between 950px and 980px.