365 - Tutorial #5 - Stupid Box Tricks
hartnell 13 Jul 2007 04:31
I'm a bit pressed for time today, so I'm going to make this short and sweet. Below are examples of what you can do with the base level of the wikidot HTML template. Use these with html_template2.html I gave you in the last tutorial. Also, ive inserted height a few times. Had there actually been content in the template, this would have been completely unnecessary.
"Stationary"
body { background-color:black; } #container-wrap { background-color:white; padding:5px; height:100%; } #container { border:1px solid black; padding:10px; height:90%; }
3 Top Lines
body { margin:0px; margin-top:3px; border-top:1px solid black; } #container-wrap { margin-top:3px; border-top:1px solid black; } #container { margin-top:3px; border-top:1px solid black; }
A Page on Top of Pages
body { margin:0px; margin-top:3px; border-top:1px solid black; } #container-wrap { margin-top:3px; border-top:1px solid black; } #container { margin:0px; margin-top:5px; margin-right:15px; border:1px solid black; height:100% }
I hope these inspire you.
—hartnell