View Full Version : Add padding/margins to responsive grid
01-21-2013, 08:36 PM
Anyone know how to add padding/margin to cols within 1140px responsive grid? Do I need to change the preset css as currently the content just gets shifted out of the grid so it doesn't resize down properly.
Thanks in advance :o
01-21-2013, 10:55 PM
You will need to understand the box model rule. See the box model here (http://www.w3.org/TR/CSS2/box.html). The box model says that whatever you put inside an element cannot be larger than that element. margin/padding/border all count when figuring width/height.
Also know that % widths and px margin/padding sometimes to not work well together.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.