Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Konstantinos Parsalidis1,662 Points
Changing padding values
In the original CSS file, the padding values are 20px 20px
When I change the first value I can see the change, however; when I change the second value nothing seems to change. Any ideas?
Jason AndersTreehouse Moderator 145,443 Points
Hi Konstantinos. Welcome to Treehouse! :)
Without seeing your code, I can't be sure...
However, there are times, depending on the layout, container, position, element, etc, where altering the padding may not produce any noticeable change.
If you want to post your code (or a snapshot of your Workspace), someone will be able to give a more detailed and specific answer. :)
Nishant Kumar1,179 Points
Hello Konstantinos. The padding values 20px 20px represents vertical and horizontal spacing values respectively. Try keeping one constant and changing another to higher value (say 80) and vice verca (For instance change it to 20px 20000px, save your changes and refresh the page in browser. You may need to scroll down your web browser's page in this case horizontally, while if you change your value to 20000px 20px, save your css work and refresh the browser's page, you'll have to scroll your page vertically to see the content.) You'll see the result and get an idea. Let me know if it works. :)