Revision: 59427
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 7, 2012 02:28 by mrmad1966
Initial Code
/**********CSS************/ body { background-color:#000000; margin: 0px; padding: 10px; } #container { margin: 0 auto; /* align for good browsers */ text-align: left; /* counter the body center */ width: 800px; /*height:auto;*/ } #mainMenu { position:relative; background-color:#CCCCCC; width:800px; height:600px; top:auto; left:auto; height:100px; } #redbox { position:absolute; width:320px; height:240px; background-color:#FF0000; } /**********CSS************/ /******InsertInBody*******/ <div id="container"> <div id="mainMenu"> <div id="redbox"> </div> </div> </div> /******InsertInBody*******/
Initial URL
Initial Description
Code between the /**********CSS************/ comments goes in a style sheet. Code between the /******InsertInBody*******/ comments is inserted between the <body> </body>
Initial Title
CSS Centre The Content
Initial Tags
Initial Language
CSS