bold vs strong

For topics about current BETA or future releases, including feature requests.
Post Reply
User avatar
roedygr
Rank V - Professional
Posts: 367
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

bold vs strong

Post by roedygr »

span.pronounced strong, span.pronounced bold{
font-size:larger;
font-weight: bold;
font-style:italic;
}


What are you supposed to do in your style sheets, use bold ,strong or both?

You might tighten up your error messages to guide your users as to how to fix the problem.
User avatar
Albert Wiersch
Site Admin
Posts: 3783
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: bold vs strong

Post by Albert Wiersch »

Thanks.

I assume the problem is with "bold" and that it should be "b" instead. CSE HTML Validator could suggest that you might want "b" for the bold element when you use "bold". I will try to get this into a future update.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
Albert Wiersch
Site Admin
Posts: 3783
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: bold vs strong

Post by Albert Wiersch »

In the next update, when you validate the CSS in the OP, CSE HTML Validator will generate this message:
The "bold" is not a recognized element in this selector. Perhaps this should be "b" for the bold element?

I highlighted the new/changed text in bold blue.

Instead of this:
The "bold" is not a recognized element in this selector. Is it misspelled?

The new message should be more helpful.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Post Reply