mirror of
https://github.com/jimeh/modern_bubbling.git
synced 2026-02-19 03:46:39 +00:00
safari 4 background fix
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user