Open neebster opened 12 years ago
what if you wrap it in another div {width: 1000px; background-color: #fff or inherit} and div.center {margin: 0 auto;}
Thanks for replying.
I was hoping that there might be way to do it without another wrapper div, however that's what I did in the end.
How about set div.center to 1000px and set a padding of like div.center {padding: 0 ((1000 - @total-width)/2);}
If you have a container around all of your columns, then you could just add an arbitrary amount of padding to that container.
Hi,
My apologies if this is not the correct place to put this request, however I didn't know where else to go.
I need to increase the space between the first/last columns and the edge of the div.center width. The background colour is set to white and the background of body is set to grey, so I'd like more than just 10px between the left edge of the first column and the change from white to grey.
Initially div.center was set to 960px, however I'd like it to be more like 1000px.
Is there a modification I can make inside grid.less to get this to work?
Cheers.