Forums

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

Home Forums CSS Responsive Web Design: When to use px vs. % on margins and padding? Re: Responsive Web Design: When to use px vs. % on margins and padding?

#93636
davidlab.be
Participant

that is px for top and bottem and % for left and right. Meaning the width is adjustable and the height will be a fixed height. Common for responsive web design, but you can also have the height adjust as well by using %…good for keeping content above the fold for different size browsers.