Hello-
I have a CSS text mark-up issue I could use some help with. I have a Div Tag that has a "p" tag applied to it. Whnever I try to create an additional class to use for the p tag within that DIV, it does not "take". Is there anyway to have a Class over-ride the P tag applied to the DIV?
Here is the DIV:
Here is the DIV's CSS:Code:<div class="InteriorText"> <p>When it comes to technology, have you ever noticed that there is always something that someone doesn't want you to buy?</p></div>
Here is the class I would like to apply to certain P tags within the same DIV, but is being "overridden" by the above CSS:Code:.InteriorText p{ color: #666666; font-family: Arial, Helvetica, sans-serif; font-size: 0.8em; }
And finally, the HTML code snippet:Code:.ContentSubHead { font-size: 2.0em; font-weight: bold; }
Any help would be greatly appreciated... Thanks!Code:<div class="InteriorText"> <p class="_ContentSubHead">When it comes to technology, have you ever noticed that there is always something that someone doesn't want you to buy? </p></div>



Reply With Quote

Bookmarks