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!
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
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,855 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. :)