Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » silverstripe cuts of body-background in firefox

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1698 Views
  • benni
    Avatar
    Community Member
    5 Posts

    silverstripe cuts of body-background in firefox Link to this post

    hey

    (before this I wrote something about the base_tag, please ignore it ...)

    I don't know why, but when I load my site through the silverstripe template-engine, the body-background ends, when the last div ends. The error also occurs without anything changed in the template (like base_tag %meta_tags, %Content ...). When I load the template directly from hd (...index.html) everything is fine.
    This problem only occours in firefox, in IE6 or opera everything is fine.

    Any ideas, I'm really despaired.... ?

    Thanks in advance.
    Benni

  • benni
    Avatar
    Community Member
    5 Posts

    Re: silverstripe cuts of body-background in firefox Link to this post

    I add a screenshot. The left side is the hdd-ouput, the right side the silverstripe-template ...

  • benni
    Avatar
    Community Member
    5 Posts

    Re: silverstripe cuts of body-background in firefox Link to this post

    second try, now the screenshot is visible, I hope ....

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: silverstripe cuts of body-background in firefox Link to this post

    Put that grey background color on the html as well. So that if the body tag is shorter (ie like your case) it will display grey.

    In your layout.css

    html {
    background: #888; /* whatever your grey color is */
    }

    There are other methods like adding body or html { height: 100%} but I prefer that first method of putting the bg on the html tag

  • benni
    Avatar
    Community Member
    5 Posts

    Re: silverstripe cuts of body-background in firefox Link to this post

    great, thats it. Thanks a lot, I can know go on working with this great framework ...

    1698 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.