Hi, I'm using Webform 5.x.1.10 with Drupal 5.7. Overall I love it; however, I do have some "cosmetic" questions (not sure if these belong here or in feature requests):

--Is there any way of making the text fields appear *next* to their labels instead of underneath them?

--Is there any way of placing the *description* next to the labels instead of underneath the fields?

--Is there any way of placing fields next to each other, or is it restricted to 1 field per line? For instance, if I wanted "City, State, Zip Code all in a row, or separate fields for Area Code and Phone Number with them next to each other (with only a single label)?

--Related to the second example above, is there any way of "merging" two fields in the results (ie, Area Code/Phone as separate fields but combined in the results, or First Name/Last Name as separate fields but combined for use in the "Email From Name" mail setting?

Thanks in advance, and thanks for your great work on this module!

Comments

quicksketch’s picture

All of these are general requests for how to theme a form. Webform can be themed the same as any other form in Drupal. Read the "Theme display of an entire webform" section of THEMING.txt to get started with this in Drupal 5.

Brainwrap’s picture

Thanks, will check it out!

Rowanw’s picture

Status: Active » Closed (fixed)

You can also use CSS to get fields and labels side by side.

.div-around-label {
  clear: both;
  float: left;
  width: 150px;
}
.div-around-field {
  float: left;
}
sapnac’s picture

hey hi,
even i have the label and textfield allignment problem in webform. hey Rowanw, could you please tell me where do i write the above code, do i need to write it in webform.css. but where do i call this class ?