Let’s say that I want to specify Arial in the HTML header – and I want it to apply to everything.
Do I have to list each element type explicitly? Or can I set them all with a single statement?
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.
You can use the
*selector which applies to everything:Note that this may be overkill for your purposes – due to the nature of CSS, styles set on parent elements are generally inherited by child elements, and thus, it’s usually enough to set a font style on the
bodyelement to apply to the entire page.