[css-d] Custom Theme Problem

2012-03-06 Thread Alan Vickery
Hi This is my first time posting to css.discuss. I was pointed here by wordpress.org I'm building (or trying to) a completely custom theme from scratch. Its taking me a while to do but I think a better understanding of the themes will pay off in the long run. Anyway, I'm having a problem that I

Re: [css-d] Custom Theme Problem

2012-03-06 Thread Ghodmode
On Tue, Mar 6, 2012 at 5:17 PM, Alan Vickery a...@newebirl.ie wrote: Hi This is my first time posting to  css.discuss. I was pointed here by wordpress.org I'm building (or trying to) a completely custom theme from scratch. Its taking me a while to do but I think a better understanding of the

Re: [css-d] Custom Theme Problem

2012-03-06 Thread HallMarc Sales
Try this instead p.location { text-align: left; padding-left: 20px; margin: 0; padding: 12px 0 12px 20px; } Margins apply to the outside of an element so no background is inherited by the space created while padding is applied inside the element and as such is

Re: [css-d] Custom Theme Problem

2012-03-06 Thread Ghodmode
On Tue, Mar 6, 2012 at 9:22 PM, HallMarc Sales sa...@hallmarcwebsites.com wrote: Try this instead p.location {        text-align: left;        padding-left: 20px;        margin: 0;        padding: 12px 0 12px 20px; } Margins apply to the outside of an element so no background is