Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Parker Stouffer
498 Pointshow do i take out the space
I'm making a web site and playing around with css but when i put in the background for the section there's space left of the both sides of this. Please help me with the command I would need to take this out. thanks in advance.
2 Answers
Sean Pierce Sumler
18,968 PointsHi Parker. It sounds like you might have a padding setting in place that could potentially be causing the issue.
try this: select your css rule and set your padding properties to "0"
.example-div { padding: 0; }
If this is not the issue, try pasting an example of your code here so we can have a look. I hope this helps~ -Sean
Christina Pagano
15,676 PointsPlease post your HTML / CSS code, it will be much easier to pinpoint the issue that way :)
Parker Stouffer
498 PointsParker Stouffer
498 Pointsthanks that was just the problem thanks again for your help
Parker Stouffer
498 PointsParker Stouffer
498 Pointsthanks that was just the problem thanks again for your help