Advertisement
Guest User

CssNew

a guest
Jul 1st, 2011
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.31 KB | None | 0 0
  1. html, body {
  2.      width:100%;
  3.      height:100%;
  4.      overflow:hidden;
  5.      padding:0;
  6.      margin:0;
  7. }
  8.  
  9. #container {
  10.      position:relative;
  11.      width:100%;
  12.      height:100%;
  13.      overflow:auto;
  14.      z-index:100;
  15. }
  16.  
  17. #smallBanner{
  18.      width:100%;
  19.      display:block;
  20.      position:absolute;
  21.      bottom:0;
  22.      left:0;
  23.      z-index:200;
  24. }
  25.  
  26. #smallBanner object {
  27. position:absolute;
  28. bottom:0;
  29. left:0;
  30. }
  31.  
  32. #bigBanner {
  33.     `margin:0;
  34.      width:100%;
  35.      position:absolute;
  36.      bottom:0;
  37.      left:0;
  38.      display:none;
  39.      z-index:1000;
  40. }
  41.  
  42. #bigBanner object{
  43. position:absolute;
  44. bottom:0;
  45. left:0;
  46. }
  47.  
  48. #closeButton{
  49.     margin:0;
  50.     position:absolute;
  51.     right: 10px;
  52.     bottom:35px;
  53.     z-index:400;
  54.     background: none;
  55.     display:none;
  56. }
  57. //---------------------------------------IE 6 7
  58.  
  59. #smallBanner embed{
  60. position: absolute;
  61. bottom:0;
  62. left:0;
  63. /*display:block;
  64. z-index:200;*/
  65. }
  66.  
  67. #bigBanner embed{  
  68. position: absolute;
  69. bottom:0;
  70. left:0;
  71. /*display:none;
  72. z-index:300;*/
  73. }
  74.  
  75. //-------------------------IE 8
  76.  
  77. #smallBanner  object{
  78.      display:block;
  79.      position:static;
  80. }
  81.  
  82. #bigBanner object{
  83.      position:static;
  84.      display:block;
  85. }
  86.  
  87. #smallBanner embed{
  88. position: absolute;
  89. bottom:0;
  90. left:0;
  91. /*display:block;
  92. z-index:200;*/
  93. }
  94.  
  95. #bigBanner embed{  
  96. position: absolute;
  97. bottom:0;
  98. left:0;
  99. /*display:none;
  100. z-index:300;*/
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement