FORMfields uses invisible tables to display elements such as the HeaderField, SectionTitle, Title and Menus. This is done so that each element can be dynamically resized based on its content. Thus, the graphics for elements can be designed once and then used all over a website and displayed in different sizes. For example, you can extend the length of the label in a HeaderField and the width of this HeaderField will automatically increase without the overall HeaderField image becoming distorted.
In the following example, we will elaborate on how a HeaderField is displayed using an invisible table and explain the different sections of the table.
A HeaderField displayed with the default.css template (selectable through FORMgen) looks like:
And if you could see the table borders of the HeaderField, they would look like:
As you can see there are 9 sections or cells in the HeaderField table: Header1TopLeft, Header1TopMiddle, Header1TopRight, Header1Left, Header1Middle, Header1Right, Header1BottomLeft, Header1BottomMiddle and Header1BottomRight. In this particular example, the sections for Header1Left and Header1Right could be repeated or stretched vertically without distorting the overall image. Furthermore, the Header1TopMiddle, Header1Middle and Header1BottomMiddle sections could be stretched horizontally without distorting the overall image. Because of this, the contents of the HeaderField, currently "Example HeaderField Label," could be wider or higher and the overall HeaderField image would adjust appropriately. This is something to keep in mind when designing a new look and feel for FORMfields elements that function this way.