/ Published in: HTML
HTML/CSS Template - HTML 4 Transitional
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"> html,body { background-color: #eae8db; background-image: url(); background-attachment: fixed; background-position: top; background-repeat: no-repeat; text-align: center; /* for center aligned sites in IE */ /* body font styles */ font-family: Arial, Helvetica, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; color: #000; text-decoration: none; } body { font-size: 76%; } html { font-size: 100%; /* IE hack */ } *{ margin: 0; padding: 0; } img { border: none; } div.clear { clear: both; height: 0;} /* START: Page Formatting ------------------ */ div#pageContainer { width: 800px; margin: 0 auto; background-color: #FFF; text-align: left; border-left: 1px solid #cac7b9; border-right: 1px solid #cac7b9; } div#pageFooter { width: 100%; background-color: #3e4247; border-top: 1px solid #0099ff; text-align: left; margin: 0 auto; } /* START: Font Styles ------------------ */ /* Headers */ h1 { font-size: 1.8em; font-weight: bold; color: #330000; } h2 { font-size: 1.6em; font-weight: bold; color: #660000; } h3 { font-size: 1.4em; font-weight: bold; color: #990000; } h4 { font-size: 1.2em; font-weight: bold; color: #CC0000; } h5 { font-size: 1.1em; font-weight: bold; color: #FF0000; } h1.hamiltopia { font-size: 8em; font-weight: bold; letter-spacing: -1.2em; color: #D3D3D3; font-family: Verdana;/* "Lucida Sans" */ } /* Text */ p { font-size: 1.1em; line-height: 1.5; color: #333; } /* Links */ /* this is a link OUTSIDE of a <P> */ a:link, a:active, a:visited { font-size: 1.1em; color: #003399; text-decoration: none; } a:hover { color: #CC0000; text-decoration: underline; } /* this is a link INSIDE of a <P> */ p a:link, p a:active, p a:visited { font-size: 1em; font-weight: bold; color: #336699; text-decoration: none; } p a:hover { color: #CC0000; text-decoration: underline; background: #E3E3E3; } /* Lists */ ul { list-style-type: none;} /* Forms */ /* END: Font Styles ------------------ */ div#newsBoxHome { width: 300px; margin: 0; padding: 0; background: #999 url() no-repeat bottom; } div#newsBoxHome span { display: block; width: 90%; margin: 0 5%; padding: 5% 0; background: transparent; } /* START: Font Styles ------------------ */ ul#formList { list-style-type: none; width: 300px; } ul#formList li { display: block; width: 300px; padding: 10px 0; border-bottom: 1px solid #CCC; } ul#formList li br { clear: both; height: 0; } form#quickForm { display: inline; width: 300px; } form#quickForm label { float: left; font-size: 1.2em; font-weight: bold; color: #CC0000; text-decoration: none; } form#quickForm input.textField, form#quickForm select.selectList { display: block; float: right; text-align: left; width: 150px; border: 1px solid #666; background-color: #FFF; font-size: 1em; font-weight: bold; color: #336699; } form#quickForm textarea.textArea { display: block; float: right; text-align: left; width: 150px; height: 150px; border: 1px solid #666; background-color: #FFF; font-size: 1em; font-weight: bold; color: #336699; overflow: auto; } .formSubmit { display: block; float: right; width: 150px; border: 1px solid #666; background-color: #FFF; font-size: 1em; font-weight: bold; color: #336699; padding: 0; } /* END: Font Styles ------------------ */ </style> </head> <body> <div id="pageContainer"><!-- START: main content holder - this holds everything --> <p> This ia paragraph text cum soluta nobis <a href="#" title="Title Tag">eleifend</a> option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. </p> <ul> </ul> <div id="newsBoxHome"> <span> <p> This ia paragraph text cum soluta nobis <a href="#" title="Title Tag">eleifend</a> option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. </p> </span> </div> <form action="" name="quickForm" id="quickForm"> <ul id="formList"> <li> <br> </li> <li> <br> </li> <li> <br> </li> <li> <select name="state" class="selectList"> </select> <br> </li> <li> <br> </li> <li> <input type="submit" name="Submit" value="Submit" class="formSubmit"> <br> </li> </ul> </form> </div><!-- END: main content holder --> <div id="pageFooter"><!-- START: page footer --> </div><!-- END: page footer --> </body> </html>
URL: hamiltopia_HtmlCssTemplate