Online Training for Asp.net MVC Web Designing Development, MS SQL, Digital Marketing

Body CSS Class, CSS3 Tutorial Online


How to write CSS class for HTML Body?

Body css style should remain same throughout the web site, so you need not to create any separate class , just mention right padding, margin, width etc in Body itself

This is how you can write in your css file
body
{
margin:auto;
width:1024px;
padding:10px;
background-color:#ebebeb;
font-size:14px;
font-family:Verdana;
}

Body css style will be automatically applied in all html pages


 
Body CSS Class, CSS3 Tutorial Online

Group Training