Cool Solutions

Forms and Workflows Get a Facelift for Teaming 2.1



By:

March 12, 2010 2:01 pm

Reads:3,741

Comments:0

Score:Unrated

As part of the upgrade to Teaming 2.1, we have updated the look and feel of our forms in the Teaming Library. The changes include background color, dividers, and borders. In this article we give you some quick, easy pointers on how to make these changes for your own site.

Teaming Upgrade_0.png

You can update the look of your site by using the HTML element, which is under the “Layout Options” when adding a new element.

Click “HTML” to open the HTML editor. The HTML element creator then prompts you for the caption and the name.

Enter a Caption (not required).

Enter a Data Name (required).

Notice two text boxes. HTML Top represents the HTML tags that come before the elements that are set inside the HTML element. HTML Bottom represents the HTML tags that come after the elements.

Teaming Upgrade2_0.png

The first two enhancements to the form are background color and border. Any color can be used for the background. All that is required is the HTML code for that specific color. The HTML color that we used is “f4f4f4” (light gray). We used this code on our HTML element:

<table cellpadding=“4” borders=“1” bgcolor=“#f4f4f4” width=“700”><tr><td>

</td></tr></table>

This specifies the size in pixels of the border (border=“1”), the background color (style=“background-color: #f4f4f4” or bgcolor=“#f4f4f4”), the width of the form in pixels (width=“700”) and the distance between cells in the table (cellpadding=“4”) in pixels. This is a really handy code that can be used on any form to give it a more professional look.

The break and divider are two other elements you can use to quickly improve the look of your form. The break causes a space between two elements, so they’re much easier to read. The code for an HTML break is very simple:

<br/>

Use this in a new HTML element and place it in the designer where you want a little extra space.

Teaming Upgrade3.png

You might find the Divider layout element doesn’t always create the amount of space that you want, so you may want to also add a break. This HTML divider has a break before and after it. It is simply a break, then the code for the divider, then another break. No HTML bottom is required for this code because nothing will be placed inside this element.

This gives a little more space above and below the thin gray line in the form.

We used these simple enhancements, to upgrade some of the forms to give them a better look and feel. Feel free to look through them and send us any questions that you have.

- Teaming Library

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS