2

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>
hippietrail
  • 15,848
  • 18
  • 99
  • 158
Brian Fisher
  • 23,519
  • 15
  • 78
  • 82

1 Answers1

2

quirksmode has the solution

geowa4
  • 40,390
  • 17
  • 88
  • 107