Recently, I noticed that styles in my element selectors were not being processed. For example these styles were not getting processed:
I tried changing the tag name so it was uppercase, and that also didn't work. However, giving my paragraphs a CSS class and using a class selector works fine. The same problem occurred with my body selector. Is this behavior to be expected, or am I doing something wrong?
p
{
font-size: 8pt;
margin-top: 1em;
}
I tried changing the tag name so it was uppercase, and that also didn't work. However, giving my paragraphs a CSS class and using a class selector works fine. The same problem occurred with my body selector. Is this behavior to be expected, or am I doing something wrong?