M
mark | r
Using the code below and XHTML how do i get the P tags to contain the
textarea if both the label and textarea are {float:left;width:100px} ?
the problem im having is when i give the P tag a background colour i get
silly strips of grey that should go all the way around the text area but
dont!
<form id="contact">
<fieldset>
<legend>Enquiry Details</legend>
<p>
<label for="details">Details</label>
<textarea id="details" name="details"></textarea>
</p>
</fieldset>
</form>
textarea if both the label and textarea are {float:left;width:100px} ?
the problem im having is when i give the P tag a background colour i get
silly strips of grey that should go all the way around the text area but
dont!
<form id="contact">
<fieldset>
<legend>Enquiry Details</legend>
<p>
<label for="details">Details</label>
<textarea id="details" name="details"></textarea>
</p>
</fieldset>
</form>