/css/ie6.css

https://gitlab.com/vozmob/cdh_monterrey_theme · CSS · 105 lines · 59 code · 20 blank · 26 comment · 0 complexity · 19905bab848396cf7f7780205e57ebdb MD5 · raw file

  1. /**
  2. * @file
  3. * CSS targeted specifically for Internet Explorer 5 and 6 for Windows.
  4. *
  5. * Any CSS in this file will override the rules specified in the ie.css file.
  6. */
  7. /*
  8. * Layout CSS
  9. */
  10. body {
  11. text-align: center; /* 1st part of IE5/IE6quirks centering hack */
  12. }
  13. #cdhm-page {
  14. text-align: left; /* LTR */ /* 2nd part of IE5/IE6quirks centering hack */
  15. }
  16. #cdhm-main-wrapper {
  17. zoom: 1; /* Otherwise with a liquid layout, sidebars disappear when resizing the windows in IE6 */
  18. }
  19. #content,
  20. #navigation,
  21. .region-sidebar-first,
  22. .region-sidebar-second /* Floating divs */ {
  23. display: inline; /* display inline or double your floated margin! [1] */
  24. overflow: hidden; /* in ie6, overflow auto is broken [2] and so is overflow visible [3] */
  25. overflow-y: visible;
  26. }
  27. /*
  28. * Tabs - IE 5 and 6 don't support PNGs with alpha transparency.
  29. */
  30. ul.primary li a,
  31. ul.primary li a .tab,
  32. ul.secondary li a,
  33. ul.secondary li a .tab {
  34. display: inline-block; /* Otherwise the blocks mistakenly get 100% width in IE6 */
  35. }
  36. ul.primary li a {
  37. background: url(../images/tab-left-ie6.png) no-repeat left -38px;
  38. }
  39. ul.primary li a .tab {
  40. background: url(../images/tab-right-ie6.png) no-repeat right -38px;
  41. }
  42. ul.primary li a:hover,
  43. ul.primary li a:focus {
  44. background: url(../images/tab-left-ie6.png) no-repeat left -76px;
  45. }
  46. ul.primary li a:hover .tab,
  47. ul.primary li a:focus .tab {
  48. background: url(../images/tab-right-ie6.png) no-repeat right -76px;
  49. }
  50. ul.primary li.active a,
  51. ul.primary li.active a:hover,
  52. ul.primary li.active a:focus {
  53. background: url(../images/tab-left-ie6.png) no-repeat left 0;
  54. }
  55. ul.primary li.active a .tab,
  56. ul.primary li.active a:hover .tab,
  57. ul.primary li.active a:focus .tab {
  58. background: url(../images/tab-right-ie6.png) no-repeat right 0;
  59. }
  60. /*
  61. * Messages - IE 5 and 6 don't support PNGs with alpha transparency.
  62. */
  63. div.messages,
  64. div.status,
  65. div.warning,
  66. div.error /* Important messages (status, warning, and error) for the user */ {
  67. background-image: url(../images/messages-status-ie6.png);
  68. }
  69. div.warning /* Medium priority messages */ {
  70. background-image: url(../images/messages-warning-ie6.png);
  71. }
  72. div.error /* High priority messages. See also the .error declaration below. */ {
  73. background-image: url(../images/messages-error-ie6.png);
  74. }
  75. /*
  76. * REFERENCES
  77. *
  78. 1. http://www.positioniseverything.net/explorer/doubled-margin.html
  79. 2. http://browservulsel.blogspot.com/2005/04/ie-overflow-auto-scrollbar-overlap.html
  80. 3. http://www.howtocreate.co.uk/wrongWithIE/?chapter=overflow%3Avisible%3B
  81. 4. http://www.ryanbrill.com/archives/multiple-classes-in-ie
  82. *
  83. */