{"id":2540,"date":"2009-10-30T10:58:12","date_gmt":"2009-10-30T10:58:12","guid":{"rendered":"http:\/\/aceinfowayindia.com\/blog\/?p=2540"},"modified":"2018-10-23T08:26:12","modified_gmt":"2018-10-23T08:26:12","slug":"how-to-create-your-own-simple-resetcss-file","status":"publish","type":"post","link":"http:\/\/aceinfowayindia.com\/blog\/2009\/10\/how-to-create-your-own-simple-resetcss-file\/","title":{"rendered":"How to Create Your Own Simple Reset.css File"},"content":{"rendered":"<p>Most of the novice CSS designers don&#8217;t realize the importance of creating a &#8220;reset.css&#8221; file. Different browsers process code differently. What may look perfect in Firefox, may be off in Internet Explorer. There are many CSS Resets all over the internet that help combat browser problems. The major problem with using one of the many currently existing frameworks is that they aren&#8217;t tailored specifically to you.<\/p>\n<p><!--more--><br \/>\n<a href=\"http:\/\/aceinfowayindia.com\/blog\/wp-content\/uploads\/2009\/10\/css-reset-header.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/aceinfowayindia.com\/blog\/wp-content\/uploads\/2009\/10\/css-reset-header.jpg\" alt=\"How to Create Your Own Simple Reset.css File\" title=\"css-reset-header\" width=\"550\" height=\"256\" class=\"alignnone size-full wp-image-2562\" srcset=\"http:\/\/aceinfowayindia.com\/blog\/wp-content\/uploads\/2009\/10\/css-reset-header.jpg 550w, http:\/\/aceinfowayindia.com\/blog\/wp-content\/uploads\/2009\/10\/css-reset-header-300x139.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p>Now its time to creat your own custom reset file. In this tutorial you will find How to Create Your Own Simple Reset.css File for your next website project. I hope you will enjoy this tutorial. <\/p>\n<h4>Step: 1 Remove margin and padding elements<\/h4>\n<pre>\r\n[code lang=\"css\"]\r\nhtml, body, div, span, h1, h2, h3, h4, h5, h6, blockquote, pre, em, \r\nfont, img, small, strong, sub, sup, ul, ol, li, dl, dt, dd, fieldset, form, \r\nlabel, legend, tr, th, td, input, select,textarea  \r\n[\/code]\r\n\r\n[code lang=\"css\"]\r\n{\r\nmargin:0; padding:0;  border:0; outline:0;\r\n}\r\n[\/code]\r\n<\/pre>\n<h4>Step:2 Reset typographic styles: <\/h4>\n<pre>\r\n[code lang=\"css\"]\r\nh1, h2, h3, h4, h5, h6\r\n{\r\n font-size: 100%;\r\n}\r\nem\r\n{\r\nfont-style: italic;\r\n}\r\nstrong\r\n{\r\nfont-weight: bold;\r\n}\r\n[\/code]\r\n<\/pre>\n<h4>Step:3 Reset unordered lists: <\/h4>\n<pre>\r\n[code lang=\"css\"]\r\nul, ol\r\n{\r\nlist-style-type: none;\r\n}\r\n[\/code]\r\n<\/pre>\n<h4>Step:4 Get rid of borders:: <\/h4>\n<pre>\r\n[code lang=\"css\"]\r\nimg, fieldset\r\n{\r\nborder:0;\r\n}\r\n[\/code]\r\n<\/pre>\n<h4>Here Is Our Final Simple Reset.css File.<\/h4>\n<pre>\r\n[code lang=\"css\"]\r\nhtml, body, div, span, h1, h2, h3, h4, h5, h6, blockquote, pre, em,\r\nfont, img, small, strong, sub, sup, ul, ol, li, dl, dt, dd, fieldset, form, \r\nlabel, legend, tr, th, td, input, select,textarea\r\n{\r\nmargin:0; padding:0;  border:0; outline:0;\r\n}\r\n\r\nh1, h2, h3, h4, h5, h6\r\n{\r\n font-size: 100%;\r\n}\r\n\r\nem\r\n{\r\nfont-style: italic;\r\n}\r\n\r\nstrong\r\n{\r\nfont-weight: bold;\r\n}\r\n\r\nul, ol\r\n{\r\nlist-style: none;\r\n}\r\n\r\nimg, fieldset\r\n{\r\nborder:0;\r\n}\r\n\r\na  \r\n{  \r\ncolor: #333333;  \r\ntext-decoration: none;  \r\n}  \r\n  \r\na:hover  \r\n{  \r\ntext-decoration: underline;  \r\n}  \r\n[\/code]\r\n<\/pre>\n<h4>Conclusion<\/h4>\n<p>These are just some of the tips that help me to write better code. I hope that tutorial will also help you to write better and clean code. Apply these Tips to your current and next projects, and you will surely appreciate the efforts.<\/p>\n<p><strong>If You Think that tutorial can be more better , Please share with us. Comment us<\/strong><\/p>\n<p>if you would like to receive more tutorial from us, please consider subscribing to our feed by <a href=\"http:\/\/feeds.feedburner.com\/developers-paradise\"><strong>RSS<\/strong><\/a> or by <a href=\"http:\/\/feedburner.google.com\/fb\/a\/mailverify?uri=developers-paradise&#038;loc=en_US\"><strong>email<\/strong><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of the novice CSS designers don&#8217;t realize the importance of creating a &#8220;reset.css&#8221; file. Different browsers process code differently. What may look perfect in Firefox, may be off in Internet Explorer. There are many CSS Resets all over the &hellip; <a href=\"http:\/\/aceinfowayindia.com\/blog\/2009\/10\/how-to-create-your-own-simple-resetcss-file\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,56],"tags":[52,23],"class_list":["post-2540","post","type-post","status-publish","format-standard","hentry","category-css","category-tutorials","tag-css","tag-tutorials"],"_links":{"self":[{"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/posts\/2540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/comments?post=2540"}],"version-history":[{"count":24,"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/posts\/2540\/revisions"}],"predecessor-version":[{"id":2565,"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/posts\/2540\/revisions\/2565"}],"wp:attachment":[{"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/media?parent=2540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/categories?post=2540"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/aceinfowayindia.com\/blog\/wp-json\/wp\/v2\/tags?post=2540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}