<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>6-COLUMN STRICT (TXT-Only, →No Spacers)</title>
<style type="text/css">
body {margin: 2%; font-size: 16px; line-height: 16px; font-family: LUCIDA CONSOLE, MONOSPACE;}
#COLUMN1 {float: left; width: 34%; padding: 1%;}
#COLUMN2 {float: left; width: 13%; padding: 1%;}
#COLUMN3 {float: left; width: 13%; padding: 1%;}
#COLUMN4 {float: left; width: 13%; padding: 1%;}
#COLUMN5 {float: left; width: 13%; padding: 1%;}
#COLUMN6 {float: left; width: 2%; padding: 1%;}
</style>
</head>
<body>
<div>
<div id="COLUMN1">Mountain Lion</div>
<div id="COLUMN2">Cheetah</div>
<div id="COLUMN3">Jaguar</div>
<div id="COLUMN4">Panther</div>
<div id="COLUMN5">Bobcat</div>
<div id="COLUMN6">X</div>
</div>
</body>
</html>
Okay, this is a Landscape (wide) To-Do List for my own private use. For readability the font is monospace (Lucida Console). The first column needs to occupy 1/3 of the view; the last column for a check off box; and the remaining four I’ll fiddle with as I go along.
I can’t locate my calculator, but the first thing I am concerned with in the code above is that each column be restrained by its relative width: I don’t want the content to spill over into part of the next line. I just grabbed the code from another project, but shouldn’t I register a position: absolute on either the first or the sixth column? I tested this on IE and . . . wtf it works!? My code never works the first time! Surely I didn’t do this correctly? Er . . . please advise as to Absolute?
I’d next like to give the layout a little more design:
The little graphic above has each row in an alternating color — starting with row 1 being a very light yellow (#FFFFDB) and the next row White — and then adding a greyish line to separate each row as an aid when I write on my printed copy on-the-fly. Please, that is just one option. I’d like to hear other criticism/alternatives so fire away.
Thanks guys.
s