Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.45 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. button loses default border rounding in IE and Firefox when changing border-style, but works fine in Opera, Chrome, and Safari
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  3.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html>
  5. <head>
  6.  
  7. <style type="text/css">
  8. input {
  9.   border-width: 2px; /* causes button to change dramatically in IE and FireFox */
  10. }
  11.  
  12. </style>
  13.  
  14. </head>
  15. <body>
  16. <input type="button" value="Print"/>
  17. </body>
  18. </html>