ie.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* NAVBAR */
  2. /* !CPU HIGH, fix for IE6 shake when scroll */
  3. * html,* html body {
  4. _background-image:url(about:blank);
  5. _background-attachment:fixed;
  6. }
  7. /* !CPU HIGH, fix for IE6 not support fixed position */
  8. .navbar-fixed-top {
  9. _position:absolute;
  10. _bottom:auto;
  11. _top:expression(eval(document.documentElement.scrollTop));
  12. }
  13. /* !CPU HIGH, fix for IE6 not support fixed position */
  14. .navbar-fixed-bottom {
  15. _position:absolute;
  16. _bottom:auto;
  17. _top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));
  18. }
  19. /* DROPDOWN */
  20. .dropup,
  21. .dropdown {
  22. *zoom:1;
  23. }
  24. /* CLOSE */
  25. .close {
  26. _font-size: 15px;
  27. }
  28. .modal-header h3 {
  29. *display: inline;
  30. *zoom:1;
  31. }
  32. /* MODALS */
  33. .modal-backdrop {
  34. _position: absolute;
  35. _top:0;
  36. _margin-top:0;
  37. _width:expression(eval(document.documentElement.scrollWidth));
  38. _height:expression(eval(document.documentElement.scrollHeight));
  39. }
  40. .modal {
  41. _position:absolute;
  42. _top:0;
  43. _margin-top:0;
  44. _top:expression(eval(document.documentElement.scrollTop));
  45. }
  46. .modal.fade.in {
  47. _filter:alpha(opacity=100);
  48. }
  49. .modal-backdrop {
  50. _filter: alpha(opacity=80);
  51. }
  52. .modal-body {
  53. _height:expression(this.scrollHeight > 400 ? "400px" : "auto");
  54. }