Forums

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

Home Forums CSS Modified Don’t Overthink It Grids and Styling Re: Modified Don’t Overthink It Grids and Styling

#120844
David_Leitch
Participant

Thanks for the input, Andy. I understand that in the first grid it’s the lack of padding on the final element that’s causing the element to be wider.

In the second grid, however, this is fixed by putting the padding on the left of the elements, then moving the entire grid left using a negative margin. The problem with this (and the problem that I’m grappling with at the moment) is that by using the negative margin and left padding together, I’m not able to effectively apply any styles. Any backgrounds or borders I place on the grid or columns shows the extra padding which is effectively outside of the grid.

Sorry if my first post (or this post) is unclear.