Setting Header Font in CSS?
Hey... I'm having trouble setting a certain font I want for the headers. This my code for the headers so far: h1, h2, h3, h4, h5 { font-family: "Times New Roman", Times, serif; font-size:20px; } h1 { color: White; letter-spacing: -1px; font-size : 28px; margin: 1.9em; line-height: normal; } #ActionItems { font-size: 11px; font-weight: bold; color: #b2a496; float: left; border-bottom: 7px solid #B1B1B1; } I wanted to know how I can change the font to Comic Sans MS. Could you please let me know as soon as possible? Thanks a bunch.
Public Comments
- Instead of font-size: 28px; you could try this........ font: 28px Comic Sans MS; I'm really good in CSS and HTML! If you have any other questions dont hesitate to ask!
- You don't need to declare this anymore... h1, h2, h3, h4, h5 { font-family: "Times New Roman", Times, serif; font-size:20px; } because Times New Roman is already declared by default and you can specify the font sizes for individual headings. Then try this for the h1... h1 { font-family: "Comic Sans Ms"; font-size:28px; and so on and so forth... } Be sure to specify alternative fonts (eg. font-family:"Arial", Verdana, Tahoma, sans-serif ) Hope this helps. And if you're a drummer please visit my website. http://www.raymondselda.com/
Powered by Yahoo! Answers