Commit fc6aef02 authored by Matthew Burket's avatar Matthew Burket
Browse files

Styles and headers

parent 404d9b02
......@@ -16,14 +16,15 @@
border-collapse: collapse;
border-style: solid;
border-width: 1px;
padding: 4px;
}
th {
background: #e8fcea;
padding: 6px;
}
</style>
</head>
<body>
</body>
</html>
\ No newline at end of file
......@@ -4,7 +4,7 @@
jQuery(function() {
var i, j, lib, table, currentShelf, currentBook;
lib = new Library("Iowa State");
lib = new Library("Iowa State Library");
i = 0;
while (i < 3) {
lib.addShelf(new Shelf("Shelf" + i));
......@@ -17,6 +17,9 @@ jQuery(function() {
}
table = "";
table += "<h1>";
table += lib.name;
table += "</h1>";
table += "<table>";
for(i = 0; i < lib.shelves.length; i++) {
table += "<tr>";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment