When ever I use a <strong> or <b> tag to bold a font, IE8 wont show it as bold. It works perfect in all the other browsers. The only way to bold a font in IE8 is to use the style sheet. But I don't want to make a style to just bold a word here and there...

Any thoughts?

  • How are strong and b elements styled in your stylesheet? Nathan Duran about 9 years ago

2 answers

danwellman 5600

This could be something in your browser preferences - I don't think I've ever had this problem and I frequently use <strong> tags. Your browser could be using a custom stylesheet, check in Internet Options » General » Accessibility and see if the checkbox in the User Style Sheet section is checked. Not sure if the other options would affect it but are they checked at all?

This text should be bold and is made bold using <strong> tags, can you see it bold?

Update: I checked in IE8 and the text above is bold...

Answered about 9 years ago by danwellman

Thanks for your answer, however I just figured it out! I had a font-weight:100; on my p style in the CSS and it was overriding any tag I had. This never happen before so I didn't think of it until just now...

Answered about 9 years ago by Juan Di Diego