My email field is next to one another even though I've selected Title to be "Above". From the CSS i can see it's not assigning it a "Display:block;" so when I add it in firebug it displays it properly with the title above the box and not next to it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Title: Email field title not appearing above input field but next to it. » Label position "Above" depends upon system.theme.css to set display: block

Webform's CSS may be overridden by your theme, which is probably what's happening here. Webform does not apply a "block" style to the label, it depends on Drupal's default styling to make it display block by default. I'm guessing that the "system.theme.css" file is being suppressed by your theme, resulting in the label showing up as inline instead of block.

To fix this, I think it'd make sense if Webform enforced labels as block level in its own CSS, so we weren't assuming the output of system.theme.css.

hmartens’s picture

Thanks Nathan for your feedback. I'll check how I can suppress my bootstrap theme's overriding styling ;)

DanChadwick’s picture

Status: Active » Closed (won't fix)

At this point, 7.x-3.x is receiving critical bug fixes only. Please update to 7.x-4.x.