7 Replies Latest reply on Mar 16, 2010 9:55 AM by Yaron Levy

    Web page content is being cut with no horizontal scrolling

    Yaron Levy Newbie

      Hi,

      I found out that the following DOCTYPE cuts my web page content if its to wide for the screen without the ability to do horizontal scrolling:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" =
      "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

       

      If I don't use this DOCTYPE all the richfaces fading feature don't work (for example the background of <h:inputText>).

      I saw in the richfaces demo sources that they also use this DOCTYPE, but they have horizontal scrolling.

      Using the following css in the html tag also don't help.

      overflow-x: scroll;
      overflow-y: scroll;
      overflow: scroll;
      overflow:auto;

       

       

      What should I do in order to force horizontal scrolling?