HuttonIT wrote:
Thanks Calguy but it is doesn't appear to work It puts all the text above the input exactly as the previous code did.
What I am looking for is something like this:-
Name | input area | Surname | input area |
Address | big input area |
E-mail | input area | Telephone | input area |
Country | input area | City | input area |
I have created a two column form layout before. The code isn't very pretty, or easy, but can be nice when finished.
You will need to add these additional classes to your inputs:
Name - left
Surname - right
E-mail - left
Telephone - right
Country - left
City - right
Then you will have to modify your template and add something like before each input record:
Code: Select all
{if $entry->css_class == 'left'}
<div style="clear:both;"></div>
{/if}
In your stylesheet you would use a combination of float and display:block to get it to look the way you want. This is the only way I could think of to do a two column layout.