p:layoutUnit inheriting height of p:layout in px in IE only

UI Components for JSF
Post Reply
mitnpatel
Posts: 23
Joined: 05 Mar 2011, 04:47
Location: San Jose

12 Mar 2011, 04:53

Hi
I am having problem in IE only (I have tested on IE 8 only so far). Things are well for Firefox and Chrome. My code is as follows :

Code: Select all

 
<div id="deviceTabInnerLayoutContainer">
        <p:layout id="devicetabUnitLayoutContainer">
        
          <!-- Device List Layout  -->
          <p:layoutUnit position="left" resizable="true" width="400" minWidth="100" maxWidth="500">
           ......
          </p:layoutUnit>
         <p:layoutUnit position="center" resizable="true" > 
         </p:layoutUnit>
       </p:layout>
</div> 
Now css styling is

Code: Select all

 
#deviceTabInnerLayoutContainer {
  margin: 0.75em 0%;
  height: 94%;
  width: 97%;
}

#devicetabUnitLayoutContainer {
  width:1550px;
  height:98%;
}



problem with IE 8 is when I an using #devicetabUnitLayoutContainer's hight in % (i.e. 98 % in my case) and I expecting it's inner layoutUnit's height to be same.
But in IE 8 it is getting converted to 98px for inner layoutUnit container (i.e. ui-layout-doc class ). It is only happning in IE only.

If someone have any idea about reason or workaround for this issue.
Primeface 3.2 | Tomcat 7.0.21 | MyFaces 2.1.5 | Eclipse 3.7 | CentOs 5.6

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests