17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1624 Views |
-
silverstripe cuts of body-background in firefox

25 February 2008 at 12:35am Last edited: 25 February 2008 1:39am
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 -
Re: silverstripe cuts of body-background in firefox

25 February 2008 at 1:51am
I add a screenshot. The left side is the hdd-ouput, the right side the silverstripe-template ...
-
Re: silverstripe cuts of body-background in firefox

25 February 2008 at 1:53am
second try, now the screenshot is visible, I hope ....
-
Re: silverstripe cuts of body-background in firefox

25 February 2008 at 9:06pm
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
-
Re: silverstripe cuts of body-background in firefox

25 February 2008 at 10:09pm
great, thats it. Thanks a lot, I can know go on working with this great framework ...
| 1624 Views | ||
|
Page:
1
|
Go to Top |


