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
Alexey Tretina
8,170 PointsPadding problem
Want the text to start at the bottom left corner of the square and for that purpose I used padding. The text is placed where I want it to be, but now there's a grey background appeared under the square. How to get rid of that effect? https://dl.dropboxusercontent.com/u/88287418/screenshot.png
4 Answers
Navid Mirzaie Milani
6,274 Pointswhy having a background color on your .rest-quad? remove that ;)
Navid Mirzaie Milani
6,274 Pointscan i see your css and html ?
Alexey Tretina
8,170 PointsIt is just a text inside the simple div tag. CSS looks like this:
Navid Mirzaie Milani
6,274 Pointsyour welcome, can you give this as a correct answer? so people know its correct and won't reply anymore ;)
Navid Mirzaie Milani
6,274 Pointsyour welcome, can you give this as a correct answer? so people know its correct and won't reply anymore ;)
Alexey Tretina
8,170 PointsAlexey Tretina
8,170 PointsAhh, thanks! :) I used it for the case the image won't load.