hi everybody,

how can i re-position 2 form elements, including textfield, title, and description, at same horizontal level.
p.s. form is made via formapi.
http://serv2.imagehigh.com/imgss/4772056_2007-01-09_153718.png

could anyone advise me how to re-position those form elements via css, css example will be more better. other method is welcome also.

thx a lot in advance!

Comments

fidot’s picture

AjK’s picture

Or use:

'#prefix' => '<div class="container-inline">',
on the first form element and
'#suffix' => '</div>',
on the next element.

mactable’s picture

after tried out both @fidot and @AjK advices, it's works but a bit different from my expect.

since i am not very familiar about web design, so i would like to concentrate on php coding (formapi) by myself, and separate out visual design (themes, styles) to other web designer, i think that if i hard code html syntax "tr", "td" etc. on php code is not flexible enough and hard to maintain.

is there any pure css solution which could control form elements position?

please forgive me i do not have enough time to start learning css from ground up because i i have a urgent project need to start up right now, i need a help hand to break thought how to re-position form elements by css solution, could someone give me a simple css example which could define the style (position) of each form element, just a simple example is enough for me to discuss with my web designer.

million thx to everyone in advance.