Jump to content

Preventing Overlapping


j.silver
 Share

Recommended Posts

Hi,

In a responsive website, programmers usually consider three screen sizes: normal, tablets, and cell phones. When the browser reaches each size, there usually be no overlapping, however, in sizes between those three there is overlapping of content. I would appreciate if someone can explain how to prevent overlapping in between the three sizes?

Link to comment
Share on other sites

There should never be overlapping because you shouldn't be using absolute positioning for your elements.

 

Use percentage for widths and ems for font sizes.

 

When developing a responsive website the correct approach is to not pay attention to specific devices and just make a design that works properly as you scale the screen. Most browsers have a responsive design tool that lets you drag the edges of the window to see how the design would look on different sized screens. The point of responsive is to look good on any screen, even screen resolutions that may arise in the future that don't exist yet.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...