Subdomain Posts
CSS | 15 days ago
HTML | 21 days ago
CSS | 21 days ago
CSS | 23 days ago
CSS | 26 days ago
CSS | 33 days ago
CSS | 46 days ago
CSS | 111 days ago
CSS | 111 days ago
CSS | 186 days ago
Recent Posts
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Patrick on the 15th of Aug 2009 08:38:29 PM Download | Raw | Embed | Report
  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;
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: