User:Randall00/Sandbox: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
< | <html> | ||
<head> | <head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
Revision as of 12:50, July 6, 2007
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Dynamic Drive: CSS Fixed Layout #2.2- (Fixed-Fixed)</title> <style type="text/css">
body{ margin:0; padding:0; line-height: 1.5em; }
b{font-size: 110%;} em{color: red;}
- maincontainer{
width: 840px; /*Width of main container*/ margin: 0 auto; /*Center container on page*/ }
- topsection{
background: #EAEAEA; height: 90px; /*Height of top section*/ }
- topsection h1{
margin: 0; padding-top: 15px; }
- contentwrapper{
float: left; width: 100%; }
- contentcolumn{
margin-right: 200px; /*Set right margin to RightColumnWidth*/ }
- rightcolumn{
float: left; width: 200px; /*Width of right column*/ margin-left: -200px; /*Set left margin to -(RightColumnWidth) */ background: #FDE95E; }
- footer{
clear: left; width: 100%; background: black; color: #FFF; text-align: center; padding: 4px 0; }
- footer a{
color: #FFFF80; }
.innertube{ margin: 10px; /*Margins for inner DIV inside each column (to provide padding)*/ margin-top: 0; }
</style>
<script type="text/javascript"> /*** Temporary text filler function. Remove when deploying template. ***/ var gibberish=["This is just some filler text", "Welcome to Dynamic Drive CSS Library", "Demo content nothing to read here"] function filltext(words){ for (var i=0; i<words; i++) document.write(gibberish[Math.floor(Math.random()*3)]+" ") } </script>
</head> <body>
CSS Fixed Layout #2.2- (Fixed-Fixed)
</body> </html>