S
shapper
Hello,
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>
<ol>
<li>
<label for="name">Name<em>*</em></label>
<input id="name" />
</li>
<li>
<label for="name">Name<em>*</em></label>
<input id="name" />
</li>
</ol>
</div>
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?
Thanks,
Miguel
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>
<ol>
<li>
<label for="name">Name<em>*</em></label>
<input id="name" />
</li>
<li>
<label for="name">Name<em>*</em></label>
<input id="name" />
</li>
</ol>
</div>
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?
Thanks,
Miguel