Register  
Monday, January 05, 2009  
Login 
Forums
Subject: Label formatting
You are not authorized to post a reply.
Author Messages
mergs
Posts:16

01/29/2007 9:04 AM  
I have a few requests for better formatting, for instance:

1) Can we move the text to right of the pictures UP the page (so they align towards the TOP RIGHT)?

2) Can we have some space or a line between text fields?

Name: Joe Smith
---------------------
Address: 555 North 5th st.
--------------------------

3) Is there a way to have a HTML "template" in the Rich Text Editor, so when I add text to this field it will be formatted the same way every time.

Thanks!
bcasson
Posts:88

01/29/2007 9:59 AM  
For sure the first 2 items can be handled with a template.

1. To move the text to the right and at the top, change the 3rd line below:

<tr>
<td align="center" valign="middle">[IMAGESRC]</td>
<td>
<table width="100%" cellpadding="0" cellspacing="0">

to:
<td align="right" valign="top">

2. There are two ways to increase the spacing between the text lines. The first is to increase cellpadding and/or cellspacing. In the example below, on the second <table tag you would change:
cellpadding="0" cellspacing="0"
to
cellpadding="5" cellspacing="0"
or
cellpadding="0" cellspacing="5"

The second would be to put a blank line between the existing lines using the following code (see sample below):

<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>

The following is the template with the above 2 items:

<table width="100%" cellpadding="3" cellspacing="2">
<tr>
<td colspan="2" class="wildPFNormalBold">[EDIT][TITLETEXT]</td>
</tr>
<tr>
<td align="center" valign="middle">[IMAGESRC]</td>
<td align="right" valign="top">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="wildPFNormalBold" width="25%">[BRIEFLABEL]</td>
<td class="wildPFNormal" width="75%">[BRIEFTEXT]</td>
</tr>
<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>
<tr>
<td class="wildPFNormalBold">[FULLLABEL]</td>
<td class="wildPFNormal">[FULLTEXT]</td>
</tr>
<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>
<tr>
<td class="wildPFNormalBold">[AUTHORLABEL]</td>
<td class="wildPFNormal">[AUTHORTEXT]</td>
</tr>
<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>
<tr>
<td class="wildPFNormalBold">[DATELABEL]</td>
<td class="wildPFNormal">[DATETEXT]</td>
</tr>
<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>
<tr>
<td class="wildPFNormalBold">[USERLABEL1]</td>
<td class="wildPFNormal">[USERTEXT1]</td>
</tr>
<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>
<tr>
<td class="wildPFNormalBold">[USERLABEL2]</td>
<td class="wildPFNormal">[USERTEXT2]</td>
</tr>
<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>
<tr>
<td class="wildPFNormalBold">[USERLABEL3]</td>
<td class="wildPFNormal">[USERTEXT3]</td>
</tr>
<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>
<tr>
<td class="wildPFNormalBold">[USERLABEL4]</td>
<td class="wildPFNormal">[USERTEXT4]</td>
</tr>
<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>
<tr>
<td class="wildPFNormalBold">[USERLABEL5]</td>
<td class="wildPFNormal">[USERTEXT5]</td>
</tr>
<tr>
<td colspan="2" class="wildPFNormal"> </td>
</tr>
</table>
</td>
</tr>
</table>

I'm not sure that I understand your third item. You can place almost any HTML tags in the rich text that you wish. You can't put in a form tag, and should stay away from buttons and input tags. If you could provide an example, I might be able to offer a solution.
mergs
Posts:16

01/29/2007 10:58 AM  
Perfect, thanks! The cell spacing was the trick. As far as the HTML, I believe they just wanted a preformatted template, maybe a table with 5 rows and 1 column to input employee names. I showed them how to do that with a table, so I think we're OK.

Thanks again!!
You are not authorized to post a reply.
Forums > Modules > wildPortfolio > Label formatting



ActiveForums 3.6

Copyright 2005-2008 © WDK Solutions       Terms Of Use      Privacy Statement
WDK Solutions - 50 Langton Road, London, Ontario Canada