1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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.

llvm-svn: 17393
This commit is contained in:
Reid Spencer 2004-11-01 08:18:06 +00:00
parent 69b07e3126
commit c40d5f3949

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