Property font-weight doesn't exist - PHP string
I tried using the jigsaw.w3.org css-validator on a php file - with the property option set to level 3 CSS on the validation page. This is a local style embedded inside a php string.
I'm getting an error that says:
Property \"font-weight doesn't exist : bold as shown here.
Here is the string it's referencing: (it matches the example in my book)
The string, and data-entry-form work fine. The entire web page all works. It just won't validate past this error.
print "<div>Thank you, <span style=\"font-weight:bold; color:yellow; \">$name</span> for your posting:<p>$posting</p><div>";
At this point I'm assuming the validation site above is only for CSS pages exclusively and will not validate local styles embedded inside php strings?
I'm not sure what to do about this because the print statement matches a similar example in the book I'm learning from.