FancyPrairie
Programmer
My question is a little misleading. What I want to do is to place a label within a div tag. The width of the label will automatically size so that all of the text can be read. I want to place an input box immediately to the right of the label. Now, as I resize the div tag I want the input box to grow/shrink with the div tag. This is what I have so far. However, if I increase the width of the div tag, the width of the input box does not increase.
<div style="position: absolute">
<label style="float:left">My Label</label>
<input style="float:left"/>
</div>
<div style="position: absolute">
<label style="float:left">My Label</label>
<input style="float:left"/>
</div>