[richfaces-issues] [JBoss JIRA] Created: (RF-3422) Update RichFaces CSS to include margin=0 for visual components
FlaxSeed (JIRA)
jira-events at lists.jboss.org
Wed May 14 13:20:26 EDT 2008
Update RichFaces CSS to include margin=0 for visual components
--------------------------------------------------------------
Key: RF-3422
URL: http://jira.jboss.com/jira/browse/RF-3422
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: win32, IE, FF
Reporter: FlaxSeed
Priority: Minor
Fix For: 3.2.1
If you are used container based CSS and "form, p" or "table" is set with a margin > 0, the RichFaces rendering of some components with get messed up (see post for screenshot). The easy fix is to simply add margin:0px; to the RichFaces components that are affected. I am currently doing this but this is fragile if I decide to upgrade version because the URLs for background images. Here's my CSS:
.rich-list-picklist-button,.rich-list-picklist-button-disabled {
margin:0px;
background-color:#C6DEFF;
background-image:url(/PCNRequestApprovalWeb/spring/a4j_3_2_1-SNAPSHOTorg.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient/DATB/eAH7.....3vHmAAaGQWj);
color:#000000;
font-family:Arial,Verdana,sans-serif;
font-size:11px;
}
.rich-list-picklist-button-light {
margin:0px;
background-color:#C6DEFF;
border-color:#E79A00;
background-image:url(/PCNRequestApprovalWeb/spring/a4j_3_2_1-SNAPSHOTorg.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient/DATB/eAH7.....3vHmAAaGQWj);
color:#000000;
font-family:Arial,Verdana,sans-serif;
font-size:11px;
}
.rich-list-picklist-button-press {
margin:0px;
background:transparent none repeat-x scroll left top;
border-style:solid;
padding:2px 0pt 0pt 2px;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list