We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2136
    • 134 Posts
    my first modx site is structurally complete, but there’s one problem i haven’t solved yet: why a specific div won’t fill up 100% of the page height. the divs inside this one fill up 100% no problem. the kicker is that it works successfully in IE but not in Firefox.

    the problem can be seen visually by the shadows on the left & right of the content area that flow down to the bottom of the page in IE but not in Firefox. when i checked with the Firefox developer toolbar (outlining block level elements), that div (id="wrapper") stops well short of the bottom of the page.

    http://www.tinygrass.com


    any tips would be greatly appreciated,

    arp
      Sorry - not using ModX anymore 01/01/2007
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You might try putting an extra block container (like an extra <div></div>) that is styled with "clear:both" just before the closing wrapper div tag.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 2136
        • 134 Posts
        thanks, i will try that.
          Sorry - not using ModX anymore 01/01/2007
          • 2136
          • 134 Posts
          that did it! thank you so very much!
            Sorry - not using ModX anymore 01/01/2007
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Here is a good article, with another method of dealing with this.

            http://www.positioniseverything.net/easyclearing.html
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 2136
              • 134 Posts
              thanks VERY much for that - i’d found it a few weeks ago and had not bookmarked it, and wanted to read it before working on this design.
                Sorry - not using ModX anymore 01/01/2007