HTML
<p style="font-size:24px;">Inline Test</p>
<p class="1head">TEST</p>
<p class="1body">TEST</p>
CSS
@font-face {
font-family: SegoeUI;
src: url(segoeui.ttf); /* Yes, it is licensed */
}
body {
padding: 0px;
font-family: SegoeUi;
margin: 0px;
font-weight: 400;
}
.1head {
font-size: 24px;
color: #2C3E50;
padding-bottom: 10px;
}
.1body {
font-size: 16px;
color: #2C3E50;
}
The p
element does not seem to be accepting a class or ID.
When I use my web browser tools to view if the CSS is coming through properly, it doesn’t appear at all. Other CSS elements, such as div's, etc. accept CSS from the same style sheet. How can this problem be fixed?