1: Center Fixed-Width Layouts: DIV#silverlightControlHost_centered{width:800px;height:500px; margin-left: auto;margin-right: auto;} But some old browsers do NOT support above code 2: Center the body body{    text-align: center;} div#container{    margin-left: auto;    margin-right: auto;    width: 50em;   text-align: left;  /* IF you want to reset text align */ }

Here is a nice website to let you check HTML color codes online: HTML Color Codes When you click any block of color, you will get color code at once.

ID is unique    * Each element has only one ID    * Each page has only one element with that ID    * Defined with “#” Example #myid{text-align:center;color:red;} Classes is NOT unique    * The same class can be used on multiple elements.    * Multiple classes can be used on the same element.    * Defined with “.” Example [Read More ...]

© 2013 CodeEase.com Suffusion theme by Sayontan Sinha