safari 4 background fix

This commit is contained in:
2009-11-21 21:40:58 +02:00
parent 982b3e5293
commit abaad78f5d
4 changed files with 5 additions and 5 deletions

View File

@@ -296,6 +296,7 @@
if (windowHeight - contentHeight > 0) {
contentElement.style.position = 'relative';
contentElement.style.top = (windowHeight - contentHeight) + 'px';
document.body.style.height = windowHeight + "px"; /* Safari 4 background fix */
} else {
contentElement.style.position = 'static';
}

View File

@@ -26,14 +26,13 @@
body {
/* font property used for development only */
/* font: 11px helvetica;*/
background: #fff;
background: #fff url(images/bg.jpg) repeat-x left bottom;
color: #303030;
margin: 0;
z-index: -3
z-index: -3;
}
#Chat {
background: transparent url(images/bg.jpg) repeat-x left bottom;
padding: 5px 10px 12px 10px;
overflow: hidden;
z-index: -2;

View File

@@ -296,6 +296,7 @@
if (windowHeight - contentHeight > 0) {
contentElement.style.position = 'relative';
contentElement.style.top = (windowHeight - contentHeight) + 'px';
document.body.style.height = windowHeight + "px"; /* Safari 4 background fix */
} else {
contentElement.style.position = 'static';
}

View File

@@ -26,14 +26,13 @@
body {
/* font property used for development only */
/* font: 11px helvetica;*/
background: #fff;
background: #fff url(images/bg.jpg) repeat-x left bottom;
color: #303030;
margin: 0;
z-index: -3;
}
#Chat {
background: transparent url(images/bg.jpg) repeat-x left bottom;
padding: 5px 10px 12px 10px;
overflow: hidden;
z-index: -2;