[drupal-support] Controlling the form theme

Chris Johnson chris at tinpixel.com
Tue Mar 8 01:43:45 UTC 2005


Dan Robinson wrote:
> great - that worked.  Now to get the labels down to the same line as the 
> drop downs do I look at the css as Chris implied?  The thing that I 
> don't get is that -
> 
> <label for="edit-Group">in:</label><br />
> 
> so the <br /> is there - who is sticking that in?

That would be Drupal's default theme functions that is putting the <br /> 
element in that location.

One way to get rid of its action is to add something like this in CSS:

.form-item br {
   display: none;
}


--
Chris Johnson




More information about the drupal-support mailing list