dunners
07-17-2008, 03:43 PM
How do I get my H1 headings not to use bold?
I have tried various settings for font-weight but it always displays as bold.
the CSS is plain and simple:
#main h1{
font-size: 1.5em;
font-weight:normal;
}
_Aerospace_Eng_
07-17-2008, 03:52 PM
That should work. Can you post all of your html and css please?
BoldUlysses
07-17-2008, 03:54 PM
Which font are you using? That can affect how it responds to CSS. I assume you've tried:
#main h1 {
font-weight:100;
}
macwiz
07-17-2008, 03:54 PM
remove the id, simply use this:
h1 {
font-size: 1.5em;
font-weight:normal;
}
This will be applied to all H1 headings with the need for the id statement. Remember, ONE ID per page. So, if you use <h1 id="main"> more than once, it will not work.
dunners
07-17-2008, 03:58 PM
Removing id has fixed it.
Thanks for the swift responses!