tags:

views:

425

answers:

1

I've been using tags in the thead cells for my tables, so I can control where browsers break long words. This works great, but its not XHTML compliant. What is the best alternative to using the wbr tag, that is valid XHTML? Example:

<table>
  <thead>
    <tr><th>ThisIsAReally<wbr />LongWord<th></tr>
  </thead>
  <tbody>
    <tr><td>...</td></tr>
    <tr><td>...</td></tr>
    <tr><td>...</td></tr>
  </tbody>
</table>
+2  A: 

quirksmode has the solution

geowa4