Table row colspan percentage not passing validator

andrewlee_foo

New Member
I'm generating some html tables and i want the first row to colspan all the other rows so this is what i did:\[code\]<table> <tr> <td colspan="100%">Table title</td> </tr> <tr> <td></td> </tr></table>\[/code\]The thing is I also want my site to be w3c valid:\[code\]Bad value 100% for attribute colspan on element td: Expected a digit but saw % instead.\[/code\]I tryied with colspan="all", it doesn't work, I thought I could put a really high value like colspan=500 to make sure it's always colspan-ed, but seems a bit dirty and still not valid.Is there a way to colspan every other rows and be w3c valid?
 
Back
Top