Chapter 17, p.568, "Style", deprecated attributes
I typed in the code on pages 572 and 573.
The first error I get is about the <Style> tag.
"Validation (XHTML 1.0 Transitional): This name contains
uppercase characters, which is not allowed."
And "Validation (XHTML 1.0 Transitional): Element
'style' is missing required attribute 'type'."
When I change the <Style> tag to <style>, I still
get the second message.
Second: about the height property in this next section of code:
<table id="tblMasterLayoutHeader" class="TableLayout" cellpadding ="0"
cellspacing="0" align="center" height="450" >
I get this error: Validation (XHTML 1.0 Transitional): Attribute 'height'
is not a valid attribute of element 'table'.
Also, "'bgcolor' is considered outdated."
I removed the height and bgcolor, but wasn't sure what to do about the
<Style> tags. It runs with the error in place, though.
Am I doing something wrong? Do I have some setting wrong? Any advice?
Thanks,
Robin (irish_songbird)
|