What does the following CSS do and is it valid?
h4 {
width: 83%;
#width: 75%;
}
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.
It is not valid.
#width: 75%;is a syntax error, since#isn’t used in CSS property names (although it is used in CSS selectors, to select elements with specificids). Most browsers will ignore it (hopefully) and only the first rule will be applied.It might have been someone’s attempt to write a CSS comment. This is the valid way:
/*This is a comment*/Edit
I would suggest using a CSS reset file to account for browser differences.