I know two
- margin {0 auto}
- line-height: 1.5;
is there any other?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t really have an answer for your question, but I just wanted to say that I don’t think you should ever leave off the units unless you’re specifying a value of 0. It’s easier to read and there’s no guesswork (for both the browser and someone else who may be reading your CSS).
EDIT: Pulled this from a forum. They are the CSS properties that accept integer values for CSS 2.1 specifications: