bold vs strong

For topics about current or future BETA releases, including feature requests.

bold vs strong

Postby roedygr » Tue Nov 06, 2012 1:19 pm

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
roedygr
Rank V - Professional
Rank V - Professional
 
Posts: 241
Joined: Fri Feb 17, 2006 6:22 am
Location: Victoria BC Canada

Re: bold vs strong

Postby Albert Wiersch » Tue Nov 06, 2012 3:07 pm

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.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2361
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Re: bold vs strong

Postby Albert Wiersch » Tue Dec 04, 2012 12:47 pm

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.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2361
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE BETA Talk

Who is online

Users browsing this forum: No registered users and 0 guests