Thursday, October 29, 2015

How to Remove browser default css styles

Removing default browser styles is very important in our web design or development.

Many of the beginners wonder why there is a little bit of margin on the left side or styling the navigation list will not result as expected. The reason is each browser will have some set of predefined styles applied to our html web page.










If you are using any of the css frameworks that are available today, they already have taken care of the browser default css styles and so you will not encounter that problem

In case if you are not using any css frameworks, make sure you normalize your html pages with the following css.

Most of the developers use normalize css from nicolas

If you want to use cdn resource that is available for free, use the below link

<link rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css"
      type="text/css"
      media="all" />



Now, start creating a simple html page like this

No comments:

Post a Comment