This interface block is a used for all forms. It is a more complex table layout than the table text block however it enables you to easily customise the design of your forms.

The diagram above shows the table layout block for forms. It includes 'thead' and 'tbody' elements which enable finer grained CSS formatting than is possible with the 'table-text' block. Each row in the form table has a different background colour and this is catered for by the Smarty tags in the class attribute of the table row.
/* Styles for form layout tables */
.table-form
{
border-collapse:collapse;
width:100%;
padding:0px;
border:1px solid #CCC;
margin-bottom:20px;
border-spacing:0px;
}
.table-form thead th
{
width:33%;
text-align:left;
font-size:11pt;
color:#FFF;
background-color:#AAA;
padding:4px 0px 6px 4px;
font-weight:bold;
}
.table-form tbody th
{
height:25px;
vertical-align:top;
padding:8px 0px 0px 4px;
width:33%;
font-size:9pt;
text-align:left;
font-weight:bold;
}
.table-form tbody td
{
height:25px;
vertical-align:middle;
height:20px;
padding:3px;
width:33%;
text-align:left;
}
.table-form tbody td td
{
padding:0px;
}
.table-form tbody th td
{
padding:0px;
}
Created: 2006-09-11 19:42:00
Last edited: 2006-09-11 23:18:15
You can search the Pixaria Gallery user manual by entering keywords here. Keep your search simple for the best results.