Can someone guide me, how can I create an “almost” square background in CSS?
I want to get a brown background and text on it with errors and how to create a dotted yellow from the top right in CSS?
My work progress is here:
HTML:
<body> <div id="contentContainer"> <div id="setBackground"> <div id="header"> <span class="style1">This is LOGO </span> <hr /> <div id="body_block"> <p class="intro">Introduction</p> <h1> Back </h1> Click Here <h2> Next </h2> Click Here <p>More about Web Design:</p> <p>• Bla bla bla... .</p> <p>Contact:</p> <p>• Bla bla bla...</p> <div id="footer"> <p>© Copyright 2013 <a href="">sample.com </a>| <a href="">More Site </a> </p> </div> </div> </div> </div> </div> </body>
CSS
@charset"UTF-8"; hr { clear:both; border: 0; height:12px; width:100%; background-color: #993300; } .intro { color: #1e2a74; font-size:16px; font-weight:bold; font-family:Arial, Helvetica, sans-serif; } #footer { background-color:#6994AF; clear: both; color: #FFFFFF; font-size: 0.8em; margin: 0; padding: 0; font-family:Arial, Helvetica, sans-serif; } #footer p { border-top: 1px solid #83CDE1; margin: 0; padding: 15px 0; text-align: left; } #footer a { text-align:right; } .style1 { font-size: 24px; font-weight: bold; font-family: Arial, Helvetica, sans-serif; background-color: #FFFFFF; }
source share