The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design How much do you worry about height of elements? Reply To: How much do you worry about height of elements?


How much would you worry about the height of various elements?

On mobile, a lot.

Think about the target area user has to interact, our fingers are massive and I’m pretty sure you experienced a site that makes clicking on a link/button, while using mobile, extremely frustrating. Add to the fact that some developers think it’s ok to disable zooming.

While, above-the-fold, doesn’t really apply on mobile (since it’s natural to scroll), you still have to think about the performance. Performance is no longer an afterthought, it should be treated as a feature. Due to the fact that Google takes speed into account when ranking, half off your list would go against performance.

Linear single page websites are extremely bad for mobile. Since ALL the content is loaded in one swoop. To deal with this issue, developers would employ progressive enhancement, where you would provide clickable button to the section of content in question, and only request that content if user wants it. When on larger screen, you would use JavaScript to pull in that content, replacing the button/link. I believe Wikipedia does a great job of this. I’m not sure if they use AJAX or if the content collapses and is expended only when clicked on. Anyways…

I’m all for setting the height of the top section so that you at least control the initial look of your site on all devices.

Stop thinking like a print designer. Why do you want all this control?

Let the site live in the wild. You never know what kind of device is accessing it, so defining any boundaries is just asking for trouble.

Think about vertical rhythm, and let the containers contain…