Skip to content

Commit

Permalink
Add layout classes for table elements so tables can be used for layouts.
Browse files Browse the repository at this point in the history
This is easier than attempting to figure out dual purpose columnar layouts
for multiple browser types. All browsers understand tables.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17393 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Reid Spencer committed Nov 1, 2004
1 parent 632bd06 commit 0922172
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/llvm.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,17 @@ TABLE { text-align: center; border: 2px solid black;
display:table;
}

TABLE.layout { text-align: left; border: none; border-collapse; collapse;
padding: 4px 4px 4px 4px; }
TR.layout { border: none; padding: 4pt 4pt 2pt 2pt; }
TD.layout { border: none; padding: 4pt 4pt 2pt 2pt;
vertical-align: top;}
TD.left { border: none; padding: 4pt 4pt 2pt 2pt; text-align: left;
vertical-align: top;}
TD.right { border: none; padding: 4pt 4pt 2pt 2pt; text-align: right;
vertical-align: top;}
TH.layout { border: none font-weight: bold; font-size: 105%;
text-align:center; vertical-align: middle; }

/* Left align table cell */
.td_left { border: 2px solid gray; text-align: left; }

0 comments on commit 0922172

Please sign in to comment.