A Little Confusion

So in the style.css file i have the h1 selector and the p selector. In the p selector i have it set to, “font-family: arial;”. Shouldn’t dong that make ALL the paragraphs be arial? For me it only makes one paragraph arial an i not know what to do!

p should make all paragraphs to the same font-family yes.

Exception is when you have attached a class selector to a paragraph…

I know what you’re saying because I thought the same thing. But when you go back and look at the code in index.html there are no other < p > tags other than the one near the bottom, they’re all div’s with classifications. So that would be why only the first paragraph (and the paragraph near the bottom) marked with < p > changed.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.