TS 552 Win2k
I'm trying to get an idea of how I could build a template in that when my end users create tables with visualformat, they have the option of applying a style to that table. Thoughts on how this could be done? The nontemplatized page looks like the below thus far although there must be a more effecient way to code it.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="
http://www.w3.org/1999/xhtml"><head>
<title>Untitled</title>
<style type="text/css">
table.mtable {
border-collapse: collapse;
border: 1px solid silver;
padding-left: 0%;
padding-right: 0%;
}
th.mtable {
font-size: 0.6em;
font-weight: bold;
font-family: verdana;
align: center;
color: gray;
border-bottom: 1px solid silver;
}
tr.mtable{
border: 1px solid silver;
}
td.mtable {
align: left;
background-color: #FFFFCE;
font-size: 0.6em;
font-family: verdana;
color: gray;
border: 1px solid silver;
}
</style>
</head>
<body>
<table cellspacing="0" class="mtable">
<tr>
<th colspan="3" class="mtable">Some Big Thing</th>
</tr>
<tr>
<th class="mtable">Test</th>
<th class="mtable">Test 2</th>
<th class="mtable">Test 3</th>
</tr>
<tr class="mtable">
<td class="mtable">something</td>
<td class="mtable">asdf</td>
<td class="mtable">fada</td>
</tr>
<tr>
<td class="mtable">werwr</td>
<td class="mtable">xcvxvx</td>
<td class="mtable">hjkhkh</td>
</tr>
</table>
</body>
</html>
Thanks Nico