Add layout classes for table elements so tables can be used for layouts.

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
This commit is contained in:
Reid Spencer 2004-11-01 08:18:06 +00:00
parent 632bd0661d
commit 092217286f

View File

@ -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; }