Community & Support

Forms API:How do you theme forms to show the text inline with the textbox?

I can't figure this out without hacking Forms API. I want to have the text label to be inline with the username and password. So this:

user name:
-----------
|              |
-----------

would be this

               ------------
user name |              |
               ------------

Comments

quick one..

HI Hiveminds..

here's an old CSS thing that I haven't tried, but, worth checking:

http://drupal.org/node/19973#comment-34017

hope that helps

Dub

actually...

as an addendum..this thread looks more informative..

http://drupal.org/node/68160

Dub

Thanks DD that works!

Cool! CSS rather than HTML ;)

Hiveminds Magazine
http://www.hiveminds.co.uk
for web publishers and community builders

Drupal Web Developer - Stockholm Sweden
Drupal Sweden

nobody click here