Share Pastebin
Guest
Public paste!

Patrick

By: a guest | Aug 15th, 2009 | Syntax: CSS | Size: 0.52 KB | Hits: 179 | Expires: Never
Copy text to clipboard
  1. /*
  2. When creating a CSS-based horizontal menu with vertical drop-down's the rendering of such a menu can cause issues under Internet Explorer. While creating such a drop-down can be done with CSS 2.0, Internet Explorer does not correctly implement the padding and margin attributes.
  3.  
  4. W3C CSS 2.0 Standard padding and margin */
  5.         padding: 16px;
  6.         margin:-16px 0px 0px -16px;
  7. /*
  8. Internet Explorer "work-around" implementation to render identically to other browsers with the above code. */
  9.         padding: 13px;
  10.         padding-left: 146px;