CSS 2559
Mybox_ie.css Guest on 5th May 2020 12:23:04 PM
  1. /* Mybox IE specific styles, all *html styles are for IE 6 and earlier only
  2.    when using the recommended DOCTYPE for the page. IE 7 in quirks mode will
  3.    follow the *html styles as well. */
  4.    
  5.      /* When editing style - START WITH THE BASIC mybox.css FILE.
  6.         only come here to fine tune IE, if needed. */
  7.    
  8.  /* These are the only Styles applied to all IE in all DOCTYPEs */
  9.  
  10. #theolay { /* Adjusting the opacity here will only affect IE, adjust the opacity in mybox.css as well */
  11. filter:progid:DXImageTransform.Microsoft.alpha(opacity=75);
  12. }
  13. #thebox p { /* Optional - I find that this makes paragraph layout like that in other browsers */
  14. margin-bottom:1.5em;
  15. }
  16. .close a { /* Position Tweak for 'CLOSE X' link */
  17. top:-3.75ex;
  18. }
  19.  
  20.  /* End all IE in all DOCTYPE styles */
  21.  
  22.  /* The below styles are intended for IE 6 and earlier only.
  23.    If your page is in quirks mode, IE 7 will also use these.
  24.    It is unlikely that these should be edited. */
  25.  
  26. * html #theolay {
  27. width:expression(mybox.iegetWidth()); /* DO NOT REMOVE This style is not a style -
  28. it initializes IE quirks mode handling in the script if required DO NOT REMOVE */
  29. }
  30. * html .close { /* Overcomes (with assistance in the script) lack of support for min-width */
  31. width:200px;
  32. }
  33. * html #thebox.cap { /* Style for the box when showing caption */
  34. width:10px; /* Removes pseudo min-width & with below, pseudo min-height */
  35. height:50px;
  36. border-bottom-width:1ex;
  37. }
  38. * html #thebox.text { /* Overcomes (with assistance in the script) lack of support for min-width & min-height */
  39. width:250px!important;
  40. height:50px;
  41. }
  42. * html .close#cap { /* Removes pseudo min-width for close element when caption is included */
  43. width:auto;
  44. }
  45.  
  46. /* End Mybox IE styles */

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.