Posted By Candace on 11/10/2010 8:59 AM
Hi Chuck,
I always like to use colspan of 10 or so when I have a text/html field and want it to go across the form width. Check field width to 1000 too.
You might also check out Demo 19 in our www.datasprings.com/formdemos for more tips. Thanks!
Candace
Hi Candace, Thanks for your suggestion. I ended up going on a different route using CSS method.
If anyone is interested this is how I accomplished it. As per Candace pointed out that make sure your colspan is set at a high number. If your form is formatted with a 2 column format, setting it at 5 will suffice for future columns. Just set it so the column span covers all column in your forms. The width of it, I kept it at 200.
In my example, I wanted a section heading to span in a given area in a form. e.g. Section 1. So I created a question using the TEXT/HTML option. In your editor, make sure RICH TEXT EDITOR is selected and in the editor click on HTML as your mode. Within the HTML mode use this as an example:
SECTION 1
Then, UPDATE the field.
In your DF question control panel select MODULE CONFIGURATION | STYLE SHEET
Make sure you select USE CUSTOM DYNAMIC FORMS STYLE SHEET
In that section, enter the following code:
p.sectionHeading {
border: 1px solid grey;
background-color: #777;
font-size: 10pt;
padding: 0px 0px 0px 20px;
text-align: left;
font-weight: bold;
color: #fff;
}
Then, click on the link UPDATE STYLE SHEET
If you are familiar with CSS properties, you can play with the setting to see what your results would be.
Hope this helps.
-Chuck