I have two input fields (a textbox and select) that I would like to get stacked on top of eachother. In my js, I will check the value of something and set on the of the elements style to hidden. When I use the following code, the select and textbox are both completely visible (this is before I mark one as hidden). Is there a CSS property that I can set to make them be directly on top of eachother, so that when one is hidden, it seems like only one is there. Thanks for the help.
<div>
<div id="agencyAccountDropDownDiv">
<select id="AgencyAccountSelect">
</select>
</div>
<div id="agencyAccountInputDiv">
<input id="Text1" type="text" />
</div>
</div>