[richfaces-issues] [JBoss JIRA] Commented: (RF-7453) scrollableDataTable rows are shifted to the left in case of global css style: body {text-align: center}

Robson Saraiva Ximenes (JIRA) jira-events at lists.jboss.org
Wed Mar 17 14:18:37 EDT 2010


    [ https://jira.jboss.org/jira/browse/RF-7453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12520483#action_12520483 ] 

Robson Saraiva Ximenes commented on RF-7453:
--------------------------------------------

Hi!

I solve the problem for my case.

My table was inside a 

<a4j:outputPanel layout="block" align="center">

The problem was the layout... for IE7... so i change it for "table" and work in both!

> 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