Text wrap / line break

I'm building a row in VB.Net from HTML strings.  

I need to have a field in the row that is two lines tall, and only so wide (so it will force a wrap of the content).

I tried putting a little table in, which causes the wrapping behavior, but then it causes a line break.

===========================================
<DIV id=RowX><SPAN id=Fill001 width="1px">&nbsp;</SPAN>

<TABLE width=100><TBODY><TR>
<TD class=AddRow>Add Message</TD>                        <<<<  want this message to wrap if too long
</TR></TBODY></TABLE>                                            <<<< line break happens after here, unwanted

<SPAN id=Fill001 width="1px">&nbsp;</SPAN><IMG src="blahblahblah.bmp"></DIV>
===========================================
.AddRow
{width:50px;height:20px;font-size:10px                             <<<< not finalized, seems to be irrelevant to problem
 }
===========================================


What might I do to keep the fields in this treatment on the same line?

Thanks
LVL 2
codequestAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mvan01Commented:
Hi codequest,

I'm assuming you want 'Add Message' to wrap, next to img "blahblahblah.bmp".  How about something like this?

Peace and joy.  mvan


<TABLE width=400><TR>
   <TD class=AddRow width=100>Add Message</TD>
   <TD><SPAN id=Fill001 width="1px">&nbsp;</SPAN><IMG src="blahblahblah.bmp"></TD>
</TR></TABLE>

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
codequestAuthor Commented:
Thanks for input.   Hmmm....Ok, I wasn't thinking to put all the contents of a the row into a table...but I'll check it out and see how it flies.
codequestAuthor Commented:
Didn't exactly apply this to the specific area I was working on, but did to something close, so I'm confident this is the right answer...been out there long enough, too.

So, thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.