[richfaces-issues] [JBoss JIRA] Commented: (RF-7453) scrollableDataTable rows are shifted to the left in case of global css style: body {text-align: center}
Nate Ridderman (JIRA)
jira-events at lists.jboss.org
Tue Feb 9 16:02:10 EST 2010
[ https://jira.jboss.org/jira/browse/RF-7453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12511410#action_12511410 ]
Nate Ridderman commented on RF-7453:
------------------------------------
I ran into this bug, however it is more general than the bug title. My project did not have a global style to center text, but I did have a style to center all tds in a scrollableDataTable. This caused the same behaviour as the screenshot illustrates in IE7.
It seems that you can't center-align all of the text in a scrollableDataTable. I don't think this is a minor issue, and I'd like to see the priority increased.
> scrollableDataTable rows are shifted to the left in case of global css style: body {text-align: center}
> -------------------------------------------------------------------------------------------------------
>
> Key: RF-7453
> URL: https://jira.jboss.org/jira/browse/RF-7453
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-ScrollableDataTable
> Affects Versions: 3.3.1
> Environment: RichFaces 3.3.1, Internet Explorer 7
> Reporter: Denis Petrunin
> Assignee: Konstantin Mishin
> Priority: Minor
> Fix For: Future
>
> Attachments: scrollableDataTable.JPG
>
>
> scrollableDataTable rows are shifted to the left in case of global css style: body {text-align: center}. The issue is reproducible in IE 7. There is no such issue in IE6, FF 3.0.11. Try the following code (backing bean must return not empty list).
> <html
> xmlns="http://www.w3.org/1999/xhtml"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:rich="http://richfaces.org/rich"
> >
> <head>
> <style type="text/css">
> body {text-align: center}
> </style>
> </head>
> <body>
> <rich:scrollableDataTable value="#{bean.items}" var="item" width="200px" height="100px">
> <rich:column width="70">
> <f:facet name="header">
> COLUMN
> </f:facet>
> #{item}
> </rich:column>
> </rich:scrollableDataTable>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list