css fiexed
Tip 2011. 3. 31. 20:05 |
<style type="text/css">
.fixed-top /* position fixed Top */{position:fixed;bottom:auto;top:0px;}
.fixed-top /* position fixed Top */{position:fixed;bottom:auto;top:0px;}
.fixed-bottom /* position fixed Bottom */{position:fixed;bottom:0px;top:auto;}
.fixed-left /* position fixed Left */{position:fixed;right:auto;left:0px;}
.fixed-right /* position fixed right */{position:fixed;right:0px;left:auto;}
* html,* html body /* IE6 Fixed Position Jitter Fix */{background-image:url(about:blank);background-attachment:fixed;}
* html .fixed-top /* IE6 position fixed Top */{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop));}
* html .fixed-right /* IE6 position fixed right */{position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft+document.documentElement.clientWidth-this.offsetWidth)-(parseInt(this.currentStyle.marginLeft,10)||0)-(parseInt(this.currentStyle.marginRight,10)||0));}
* html .fixed-bottom /* IE6 position fixed Bottom */{position:absolute;bottom:auto;top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));}
* html .fixed-left /* IE6 position fixed Left */{position:absolute;right:auto;left:expression(eval(document.documentElement.scrollLeft));}
</style>
<div class="fixed-bottom" style="text-align:center; width:100%; left:0;"> <img src="imagename.gif" border="0"> </div>
<div class="fixed-bottom" style="text-align:center; width:100%; left:0;"> <img src="imagename.gif" border="0"> </div>
'Tip' 카테고리의 다른 글
IE8 Textarea Bug (0) | 2011.06.20 |
---|---|
IE9 스마트 에디터 상단 짤림 (2) | 2011.05.31 |
크로스도메인 쿠키문제 (0) | 2011.01.21 |
MySql insert select (0) | 2010.11.06 |
div가운데 정렬 (0) | 2010.10.09 |