Hi,

I want to change the layout of my Drupal form. Originaly it displays label, and the form element (text field, etc) in a new line. I want to change it to label and form element in same line.

If I use CSS to adjust to a line, I need to adjust all the element's left padding so that the label and element looks tidy like a html table with 2 columns.

Any suggestion on how to do this?

Thank you in advance.

Comments

nevets’s picture

You can also set the width of the label.

duckzland’s picture

float label to the left and float input wrapper to the right and set description to clear

--------------------------------------------------------------------------------------------------------
if you can use drupal why use others?
VicTheme.com

seehui’s picture

Oh i see... Thank you everyone for the suggestions!