2 Replies Latest reply on Nov 10, 2008 6:39 AM by joerg209

    White bars in IE with rich:menudropDownMenu

    joerg209

      Hello,

      I'm using RichFaces 3.2.2 GA with MyFaces 1.2.4 and Facelets 1.1.14.

      Maybe it's just a beginners question but if I'm using following code, I have white bars on top and bottom of the menu toolbar in IE 6 & 7 but not in FF.

      How can I avoid the differences without moving the <h:form>?

      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich">
      <body>
      <f:view>
       <div style="background-color:#FF0000; height:50px; width:100%"/>
       <h:form id="test">
       <rich:toolBar height="24">
       <rich:dropDownMenu value="Test">
       <rich:menuItem submitMode="none" value="Exit" onclick="javascript:alert('bla');"/>
       </rich:dropDownMenu>
       </rich:toolBar>
       </h:form>
       <div style="background-color:#FF0000; height:100px; width:100%"/>
      </f:view>
      </body>
      </html>
      


      Thx in advance
      Joerg