Skip to main content
Gareth_Williams
Inspiring
September 7, 2025
Answered

Bold Text Not Working?

  • September 7, 2025
  • 1 reply
  • 177 views

Hi, I might be missing something stupidly obvious here but bold text doesn’t work in this file apart from in one place. I have numerous font styles in the file. These two in the examples I can’t get the bold to work. On the Segoe font bold doesn’t work anywhere on the page and the Baskerville front it only works in one place. Does anybody know what is going on here? I can't see anything obviously wrong in the code! Thanks for your help. Gareth

 

http://www.maximum-robot.co.uk/test.html

Correct answer Nancy OShea

Remove font-weight styles from CSS.  You don't need them.

You're creating bold text with HTML <strong> tags which are not compatible with CSS font-weights.  Use one or the other, not both. 

 

Hope that helps.

 

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
September 7, 2025

Remove font-weight styles from CSS.  You don't need them.

You're creating bold text with HTML <strong> tags which are not compatible with CSS font-weights.  Use one or the other, not both. 

 

Hope that helps.

 

Nancy O'Shea— Product User & Community Expert
Gareth_Williams
Inspiring
September 8, 2025

Thanks Nancy. That was my bad. I've sorted that out now. 🙂