Jump to content

Div placement question (is this bad syntax?)


morpheuz

Recommended Posts

Ok, I have a table that I want to change dynamically and need a div or such to use with ajax. The content within this table is made up of image slices so I'd rather there be a way to alter the table row content in its entirety using minimal effort as opposed to divving up each td. 

What I would like to know is if the kind of structures below will work or are they just examples of bad html?:

<table>
<div id="blah">
<tr>
<td>...</td><td>...</td><td>...</td>
</tr>
</div>
</table>

or..

<table>
<tr>
<div id="blah"><td>...</td><td>...</td><td>...</td></div>
</tr>
</table>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.