what’s line-height supposed to do since there is already an attribute called font-size?
And what does it mean when we specify something like:
white-space:nowrap;
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.
The line-height property allows you to set the height of a line of text independently from the font size (works well for centering a single line of text vertically, etc.)
white-space:nowrap; will for lines of text not to wrap until a <br /> is encountered.