I'd like it to have a padding-left: 15px like everything else. Right now it's hanging off the sidebar container and I'd like to left align it with the text above and below.
Basically, we are telling the background image to sit 15px from the left of the container, instead of hard up against it.
Also, for future reference, it is often easier to give the parent element padding instead of each child element. That would have also avoided this issue.
Here's the page: http://www.sacredjourney.com/testing/
I've used this code but I can't get the background image scooted over. Thanks so much in advance!
}
What are you trying to do exactly? "Scooted over" where?
Sorry :)
I'd like it to have a padding-left: 15px like everything else. Right now it's hanging off the sidebar container and I'd like to left align it with the text above and below.
Thanks!!
Change:
To:
I think that's what you are after?
Basically, we are telling the background image to sit 15px from the left of the container, instead of hard up against it.
Also, for future reference, it is often easier to give the parent element padding instead of each child element. That would have also avoided this issue.
like a charm! mmmmwwwah!
Awesome :)