[
https://issues.jboss.org/browse/RF-11738?page=com.atlassian.jira.plugin.s...
]
Karsten Wutzke commented on RF-11738:
-------------------------------------
Thanks for fixing so quickly. As usual, you always find a workaround when things have
already been resolved. Instead of relying on the HTML cellspacing attribute you could
equally as well put CSS border-spacing: 0px; into your table's CSS selector. As for
the cellpadding however I see no equivalent, so the fix is still useful (also for older
browsers that don't support border-spacing).
rich:dataTable doesn't generate cellspacing = 0 and cellpadding =
0
-------------------------------------------------------------------
Key: RF-11738
URL:
https://issues.jboss.org/browse/RF-11738
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 4.1.0.CR1
Reporter: Karsten Wutzke
Assignee: Brian Leathem
Priority: Minor
Labels: cellpadding, cellspacing
Fix For: 4.1.0.Final
I often have the requirement for rounded tables, with RF 4 datatables this isn't
possible *at all*. For a rounded HTML table to render correctly, the CSS attribute
border-collapse: separate; must be used because border-collapse: collapse; is incompatible
with CSS 3, see
http://vamin.net/examples/rounded_tables2.html (view source).
border-collapse: separate; however needs cellspacing = 0, which isn't produced by RF
datatables, so rounded borders with datatables can *never* be accomplished without visual
artifacts.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira