[ https://issues.apache.org/jira/browse/WICKET-4710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439671#comment-13439671 ]
Bertrand Guay-Paquet commented on WICKET-4710: ---------------------------------------------- Regarding style="inline-block": As stated on http://www.quirksmode.org/css/display.html, inline-block only works for natural inline elements in IE 7. TD and TH can contain block elements. The best solution in my opinion would be to find a way to populate TH and TD cells with any component tag directly. This would avoid the question of which intermediate tag type to use. It would also simplify the current situation where adding a simple link or image to a DataTable cell requires creating a whole Panel or Fragment. I'm not sure if/how this can be achieved however... > DataTable - Headers with OrderByBorder have invalid HTML markup > --------------------------------------------------------------- > > Key: WICKET-4710 > URL: https://issues.apache.org/jira/browse/WICKET-4710 > Project: Wicket > Issue Type: Bug > Components: wicket-extensions > Affects Versions: 6.0.0 > Reporter: Bertrand Guay-Paquet > Labels: datatable > Attachments: screenshots.png > > > WICKET-4690 changed the tag type to <div> for the content of DataTable cells. > When a sortable column is used, this produces invalid HTML markup which can > wreck css stylings. > The markup is now: > <th class="wicket_orderUp"> > <a class="wicket_orderUp"> > <div></div> > </a> > </th> > Note the <a> (inline element) containing a <div> (block element) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira