Did you ever find a fix to this? I have the exact same issue :( Any advice
much appreciated!
Alan Gross wrote:
>
> Hi Forum
> I use myfaces 1.2.6.
> I noticed that neither the styleClass Attribute nor the "id" is working
> with my central CSS configuration in Firefox.
>
> The following works fine in IE7 but not in FireFox 3.0.10 (using panelGrid
> styleClass):
>
> css file:
> .formActionBar {
> height: 25px;
> left: 450px;
> top: -47px;
> position: absolute;
> }
>
>
> <h:panelGrid columns="4" styleClass="formActionBar">
> <a4j:commandButton styleClass="formActionButton"
> rendered="#{timerepHandler.editReport.status=='Pending Approval'}"
> value="#{cont.buttonSave }"
> action="#{timerepHandler.saveEditReportRecord}" />
> </h:panelGrid>
>
> This one is also working in IE7 but NOT in Firefox (using panelGrid id):
>
> #formActionBarId {
> height: 25px;
> left: 450px;
> top: -47px;
> position: absolute;
> }
>
> <h:panelGrid columns="4" id="formActionBarId">
> <a4j:commandButton styleClass="formActionButton"
> rendered="#{timerepHandler.editReport.status=='Pending Approval'}"
> value="#{cont.buttonSave }"
> action="#{timerepHandler.saveEditReportRecord}" />
> </h:panelGrid>
>
>
> The following works in both (IE7 and firefox) - using panelGrid style
> attribute:
>
> <h:panelGrid columns="4" style="height: 25px;
> left: 450px;
> top: -47px;
> position: absolute;">
>
> <a4j:commandButton styleClass="formActionButton"
> rendered="#{timerepHandler.editReport.status=='Pending Approval'}"
> value="#{cont.buttonSave }"
> action="#{timerepHandler.saveEditReportRecord}" />
> </h:panelGrid>
>
> But this is not what I want since I would need to set the CSS style on
> every page. Has anyone expierenced the same problem? Is this a know issue?
>
> Thank you very much for your help.
> Best regards
> Alan
>
>
--
View this message in context:
http://www.nabble.com/Possible-Bug----h%3ApanelGrid-styleClass-not-working-in-Firefox-tp23960526p25121023.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.