Web Hosting Talk







View Full Version : css header size


bambinou
04-12-2010, 05:59 PM
Hi,

I have a simple question,

If you wish to have all your text headers(h1-h2-h3-h4-h5-h6) to resize to the same font size, would you use this code or something better?

h1 {font-size:14px;}
h2 {font-size:14px;}
h3 {font-size:14px;}
h4 {font-size:14px;}
h5 {font-size:14px;}
h6 {font-size:14px;}


Now if I want all my headers as Bold, what do I need to do?


Regards,

BamBam

Palmetto Innovations
04-12-2010, 09:54 PM
This would be much easier:


h1, h2, h3, h4, h5, h6 {
font-size: 14px;
font-weight: bold;
}


The above code will make all of those header tags (h1-h6) be size 14px and have a bolded font-weight. Hope that helps! Let me know if you have any more questions.:)

bambinou
04-13-2010, 08:15 AM
Thank you so much :-)


BamBam