Forum Moderators: open
Does anybody know of a solution to this problem that will validate?
I cannot simply put it in a table because the table is just one part of the comment. Here is the html snippet:
---------
<td>Use <a class="definition" href="#"><span>Any given word that can be matched to a list of valid words in a search. However, this can also include special characters (symbols) that can be used as "wildcards". For example, consider the following mailbox:
<table class="full small" style="padding: 3px; margin: 3px; background: #F0F8FF; border: 1px solid #9EF;">
<tr class="hdrow bold"><td>Subject</td></tr>
<tr class="dkrow"><td>Surfing the waves</td></tr>
<tr class="ltrow"><td>Computer stuff</td></tr>
<tr class="dkrow"><td>Surface tension</td></tr>
</table>
If you entered a search query as <b>sur*</b>, it would return the 1st and the 3rd message. The asterisk ( * ) acts as a wildcard, meaning it can represent any letter or character.</span>Regular Expressions</a> for the Search and the FilterRule</td>
I have also tried to replace the entire <span> tag with a table, nesting the small table within the larger one. This still returns the same error, as the <table> element is not allowed within an <a> tag.
Any other ideas?
Z--
css:
.smallTable {
padding: 3px;
margin: 3px;
background: #F0F8FF;
border: 1px solid #9EF;
width: 50%;
}
html:
<div class="container">
<p>Your first paragraph of text.</p>
<div class="smallTable">Subject</div>
<div class="smallTable">Surfing the waves</div>
<div class="smallTable">Computer stuff</div>
<div class="smallTable"><Surface tension</div>
<p>Your last paragraph of text.</p>
</div>
IS a table absolutely necessary? Or might you reframe that single bit of code in some other way?