Create Form

Giganews Newsgroups
Subject: Create Form
Posted by:  shapper (mdmou…
Date: Mon, 17 Dec 2007


I am creating a few forms for two web sites.
The forms will have a header which I would like to style with CSS.

My idea is to create the form as follows:

<div id = "form">
<h1>My Form</h1>
      <label for="name">Name<em>*</em></label>
      <input id="name" />
      <label for="name">Name<em>*</em></label>
      <input id="name" />

Is this the best way to do this?
The for header is usually some text.
However, sometimes, it also might be some 100% width bar with a
background color and having some text in it or maybe even an image.

Is this the best way to do it?

Could someone please send me sugestions?