CSS Sample Codes

Creating a DIV tag or box with CSS and XHTML

  1. This code is placed in between the tags in the section of your web page
  2. #projects {
               position:absolute;
               left:100px;
               width:200px;
               height:150px;
               top:250px;
               background-color:#999999;
               border-style: solid;
               overflow:auto;
              }
    
  3. This code is placed in the section of the page