Resetting the Browser Default Styles in CSS

Using the same code in different browsers can be displayed in different ways. Resetting styles will help you to avoid such problems.

[View All Snippets]
Show Plain Text »
  1. <style type="text/css">
  2. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video
  3.     { margin:0; padding:0; border:0; font-size:100%; font:inherit; vertical-align:baseline; outline:none; }
  4. html
  5.     { height:101%; } /* always show scrollbars */
  6. body
  7.     { font-size:62.5%; line-height:1; font-family:Arial, Tahoma, Verdana, sans-serif; }
  8. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
  9.     { display:block; }
  10. img
  11.     { border:0; max-width:100%; }
  12. a
  13.     { text-decoration:none; }
  14. a:hover
  15.     { text-decoration:underline; }
  16. ol, ul
  17.     { list-style:none; }
  18. blockquote, q
  19.     { quotes:none; }
  20. blockquote:before, blockquote:after, q:before, q:after
  21.     { content:""; content:none; }
  22. strong
  23.     { font-weight:bold; }
  24. input
  25.     { outline:none; }
  26. table
  27.     { border-collapse:collapse; border-spacing:0; }
  28. </style>
Create Your Free Account
Please remember that this information is essential to use our services correctly.
After creating the account you will be able to download all of our FREE products.
Fields marked with * are mandatory

Please send me information about updates, new products, specials and discounts from ApPHP!
We recommend that your password should be at least 6 characters long and should be different from your username/email. Please use only letters of the English alphabet to enter your name.

Your e-mail address must be valid. We use e-mail for communication purposes (order notifications, etc). Therefore, it is essential to provide a valid e-mail address to be able to use our services correctly.

All your private data is confidential. We will never sell, exchange or market it in any way. Please refer to Privacy Policy.

By clicking "Create Account", you are indicating that you have read and agree to the ApPHP Terms & Conditions.

Quick Registration with: Facebook / Google