Margins & Padding
March 24, 2014
When working in percentages (for responsive design), all margins and padding (horizontal and vertical) are affected by width.This seems strange to me. For the moment I’m going with percentage based widths and pixel based heights – until I can find a better solution. I’m finding percentage based heights a little hit & miss at the moment…
*update – this actually does seem to work well with padding. So, all content is 100% width with 10% 10% 10% 10% padding – which works well when resizing browser window…
“Kerching!”
Category : Web Development
Share
