newcoder1010 Posted April 11, 2015 Share Posted April 11, 2015 Hi, I have the below css and it works: .print-content .field-name-field-carinfo .field-label{ font-size: 30px; color: red; padding-top: 25px; padding-right: 10px; padding-bottom: 5px; padding-left: 5px; background-color: gray; text-decoration: underline; } In addition to that, I would like to do padding-bottom. If i just change padding-bottom from 5px to 10px, it expands with the background color gray. Instead, I would like to do padding-bottom after the gray background? Many thanks, N Link to comment Share on other sites More sharing options...
Ingolme Posted April 12, 2015 Share Posted April 12, 2015 That's called margin-bottom. Padding is space inside the box, margin is space outside the box. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now