By Trappies on
Hi,
I have been developing forms now for a bit and really getting the hang of it. I have one problem though. I want to be able to place the Radios group buttons horizontally instead of the vertical fashion that it comes standard. I don't want to change themes because this is all standard.
I have seen several posts requesting this info but there is very little responses. Anyone have a clear example of how I can setup something like this?
Thanks in advance.
Davin.
Comments
Usually this is done with
Usually this is done with the CSS code
{display: inline}You can then add width and padding codes, as well as margin codes, if necessary, to the get look you desire.
----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://davidhertzberg.com
http://association.drupal.org/user/1207
I am a writer, researcher and solo drupal freelancer
Where in the code would I
Where in the code would I put this? In the #attributes field?
This is the code it
This is the code it generates if I put it in the #attributes cell:
This is the code it
This is the code it generates if I put it in the #attributes cell:
Still doesn't align it the way I want it though
[SOLVED]
Hi,
Found a better way of doing it. All I did was split up the radio buttons and then placed them separately like this :
Then what I did is just used the normal theme_ hook to do the complete layout of this perticular form.
Davin