fix-ie.css

body {
  /* Center layout */
  text-align: center;
}

#header-region,
#wrapper #container {
  /* Reset text alignment */
  text-align: left; /* LTR */
}

#wrapper #container #center {
  /* Reduce amount of damage done by extremely wide content */
  overflow: hidden;
}

#wrapper #container #center .right-corner .left-corner {
  /* Because of the lack of min-height, we use height as an alternative */
  height: 400px;
}

fieldset {
  /* Don't draw backgrounds on fieldsets in IE, as they look really bad. */
  background: none;
}

div.vertical-tabs ul.vertical-tabs-list li.first {
  background-image: none;
}

ul.primary {
  /* Fix missing top margin */
  position: relative; /* LTR */
/*  top: 0.5em; */
}

/* Prevent fieldsets from shifting when changing collapsed state. */
html.js fieldset.collapsible {
  top: -1em;
}
html.js fieldset.collapsed {
  top: 0;
  margin-bottom: 1em;
}

tr.menu-disabled {
  /* Use filter to emulate CSS3 opacity */
  filter: alpha(opacity=50);
}

#header-region {
  /* Because of the lack of min-height, we use height as an alternative */
  height: 1em;
}

tr.taxonomy-term-preview {
  filter: alpha(opacity=50);
}

#attach-hide label,
#uploadprogress div.message {
  /* Fading elements in IE causes the text to bleed unless they have a background. */
  background-color: #ffffff;
}

File

drupal/themes/garland/fix-ie.css
View source
  1. body {
  2. /* Center layout */
  3. text-align: center;
  4. }
  5. #header-region,
  6. #wrapper #container {
  7. /* Reset text alignment */
  8. text-align: left; /* LTR */
  9. }
  10. #wrapper #container #center {
  11. /* Reduce amount of damage done by extremely wide content */
  12. overflow: hidden;
  13. }
  14. #wrapper #container #center .right-corner .left-corner {
  15. /* Because of the lack of min-height, we use height as an alternative */
  16. height: 400px;
  17. }
  18. fieldset {
  19. /* Don't draw backgrounds on fieldsets in IE, as they look really bad. */
  20. background: none;
  21. }
  22. div.vertical-tabs ul.vertical-tabs-list li.first {
  23. background-image: none;
  24. }
  25. ul.primary {
  26. /* Fix missing top margin */
  27. position: relative; /* LTR */
  28. /* top: 0.5em; */
  29. }
  30. /* Prevent fieldsets from shifting when changing collapsed state. */
  31. html.js fieldset.collapsible {
  32. top: -1em;
  33. }
  34. html.js fieldset.collapsed {
  35. top: 0;
  36. margin-bottom: 1em;
  37. }
  38. tr.menu-disabled {
  39. /* Use filter to emulate CSS3 opacity */
  40. filter: alpha(opacity=50);
  41. }
  42. #header-region {
  43. /* Because of the lack of min-height, we use height as an alternative */
  44. height: 1em;
  45. }
  46. tr.taxonomy-term-preview {
  47. filter: alpha(opacity=50);
  48. }
  49. #attach-hide label,
  50. #uploadprogress div.message {
  51. /* Fading elements in IE causes the text to bleed unless they have a background. */
  52. background-color: #ffffff;
  53. }