jcage@lycos.com wrote:
Quote:
I'm trying to line up two columns in a form using html check boxes but
haven't been successful in aligning the right side. Left side is easy
enough but I can't get the right side to align within the legend tag.
Anyone have any ideas? I've tried using a table but that places the
right hand side outside of the legend tag, though does a good job of
alignment. Thanks, John
>
//desired left side:
<fieldset style="text-align:left;">
<legend><b>Type</b></legend>
<input type="checkbox" />Peanuts <br />
<input type="checkbox" />Popcorn <br />
<input type="checkbox" />Corn on the cob. <br />
>
//desired right side:
<input type="checkbox" />Apples <br />
<input type="checkbox" />Oranges and Pears <br />
<input type="checkbox" />Bananas <br />
</fieldset>
You mean within the fieldset...right?
<fieldset>
<legend><b>Type</b></legend>
<div style="float: left">
<input type="checkbox" />Peanuts <br />
<input type="checkbox" />Popcorn <br />
<input type="checkbox" />Corn on the cob.
</div>
<input type="checkbox" />Apples <br />
<input type="checkbox" />Oranges and Pears <br />
<input type="checkbox" />Bananas <br />
</fieldset>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com