Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
06-19-2012, 10:45 PM #1
- Join Date
- Jun 2012
- Thanked 0 Times in 0 Posts
Validation (XHTML 1.0 Transitional): Element 'h3' cannot be nested within element 'tr
<table class="center" cellpadding="8" width="90%">
<tr style="width:100%" class="GoldHeadline">
Critical Thinking for Creative Problem Solving
<iframe id="myIframe3" src="http://player.vimeo.com/video/41919197" width="200" height="150" frameborder="0"></iframe>
<td style="width:21%" valign="middle">
<h4>Jonakan O’Steen </h4>
<h4>Equity Residential</h4> <br/>
<td style="width:50%" align="left"><img src="Images/IREM-14521.jpg" alt="thirdFrame" class="align-right"/>
06-19-2012, 11:58 PM #2
- Join Date
- Sep 2005
- Sydney, Australia
- Thanked 649 Times in 639 Posts
Get rid of the table - you don't have tabular data there so the table is the wrong thing to use.
Anyway all the content of a table needs to be inside <td> or <th> tags - you can't place content directly inside the <table> <thead> <tfoot> <tbody> or <tr> tags as the <table> tag is only allowed to contain <caption> <col> <colspan> <thead> <tfoot> and <tbody> tags and the <thead> <tfoot> and <tbody> tags are only allowed to contain <tr> tags.
You should also consider getting rid of the HTML 3.2 tags and attributes you are using.
cellpadding and width on the table tag should be replaced by CSS.
the iframe tag should be replaced by an <object> tag.
the align and valigh attributes should be replaced by CSS.
If you make all those changes then you will have got rid of all the obsolete HTML 3.2 in the page and can switch from the transitional doctype to the proper strict one (assuming that you do similarly for the rest of your content to get rid of all the HTML 3.2).