You are here

fix-ie.css in Drupal 5

Same filename and directory in other branches
  1. 6 themes/garland/fix-ie.css
  2. 7 themes/garland/fix-ie.css
/**
 * Themetastic, for Drupal 5.0
 * Stefan Nagtegaal, iStyledThis [dot] nl
 * Steven Wittens, acko [dot] net
 *
 */

body {
  /* Center layout */
  text-align: center;
  /* Allow text resizing */
  font-size: 80%;
}

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

#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;
}

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

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

td.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;
}

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

File

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