CSS for multiline textbox and textfield

I want to have a multiline textbox on the left and a text field on the right, beside it. On the baseline.

<table><tr><td valign=bottom>
<multilinetextbox goes here>
</td><td> Text: <textbox goes here>
</td></tr></table>

Can that be done with styles without using a table?
thanks.
LVL 2
Starr DuskkASP.NET VB.NET DeveloperAsked:
Who is Participating?
 
slovisaCommented:
You can use divs just like table cells - just float one. E.G.

<div style="float:left;">
multi<br />
line<br />
textbox<br />
here<br />
</div>
<div style="padding-top:57px;">
Text at baseline
</div>

This assumes you want the "baseline" text at the bottom of the second div. If so, just adjust the padding appropriate to the height of your multiline textbox. If not, just remove the style altogether.

Is that what you're going for?
0
 
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.