Adding html/css to a module form How would I go about adding html/css into this module e.g. to place the different form items into a table, so i could have a column with one field entry the next column with another entry, and then rows below with other entry fields. I noticed when i put an image into the module it appears on every page on the website too?

 function form_example_menu(){
   $items = array();
   $items['form_example'] = array(
   'title' =&gt; 'My example form',
   'type' =&gt; MENU_NORMAL_ITEM,
   'access arguments' =&gt; array('access form_example'),
   'page callback' =&gt; 'drupal_get_form',
   'page arguments' =&gt; array ('form_example_form'),
     );
 return $items;
  }

function form_example_form($form, &amp;$form_state){


    $form['mytextfield'] = array (
    '#type' =&gt; 'textfield',
    '#title' =&gt; t('My text field'),
    '#size' =&gt; 60,
    '#maxlength' =&gt;128,
    '#required' =&gt; TRUE,
     );

 $form['mytext'] = array (
   '#type' =&gt; 'textarea',
   '#title' =&gt; t('My text area'),
   '#description' =&gt; t('enter some text.'),
   '#defauly value' =&gt; '',
   '#required' =&gt; TRUE,
  );

 $form['submit'] = array(
   '#type' =&gt; 'submit',
   '#value' =&gt; t('Add an item'),
 );
return $form;
}
You can use #prefix and #suffix to add any amount of html markup to your form and/or any of its fields.  Tons of information can be found in the Drupal Form API Reference.  I would tend to suggest you stay away from tables and instead investigate css floats and divs, most probably doable without any additional markup, but that's just personal preference.