I'm encountering an issue with font size in CSS. In the code below, you can see that I have a .post class containing < pre > tags nested inside it. Shouldn't the CSS styling for the pre tags work as intended? Despite setting the font size to 12px for the pre tags within the post class, the text still appears at 15px. Any idea why this might be happening?
.post {
width: 100%;
clear: both;
padding: 10px 0;
border-bottom: #CBCBCB 1px solid;
background: url(images/post_element.gif) no-repeat 126px 21px;
font-family: arial;
font-size: 15px;
}
.post pre{
font-size: 12px;
}