codequest
asked on
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"> </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"> </SPAN>< IMG src="blahblahblah.bmp"></D IV>
========================== ========== =======
.AddRow
{width:50px;height:20px;fo nt-size:10 px <<<< not finalized, seems to be irrelevant to problem
}
========================== ========== =======
What might I do to keep the fields in this treatment on the same line?
Thanks
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"> </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"> </SPAN><
==========================
.AddRow
{width:50px;height:20px;fo
}
==========================
What might I do to keep the fields in this treatment on the same line?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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!
So, thanks!
ASKER