Making a multi-line Label

N

Nathan Sokalski

I have a form that is laid out like the following:

------------
| | LABEL CONTROL
| IMAGE |
| |
_________

I want the Label control to be on multiple lines (I know exactly how many
and where the breaks will be) but stay contained in a rectangle. If I put BR
tags in the Text property, it does this in design view, but when I view it
in IE the second line wraps to below the IMAGE. In other words, I get:

------------
| | LABEL
| IMAGE | CONTROL
| |
_________

In Visual Studio .NET 2003's Design View, but I get:


------------
| | LABEL
| IMAGE |
| |
_________
CONTROL

In Internet Explorer 6.0. I want what Visual Studio .NET 2003's Design View
shows me. How do I get this? Is there some other control I have to use? I
realize I could use multiple Labels, but since the content is related, I
would like to try to avoid that if possible. Thanks.
 
R

Rai Yawar Ijaz

Hi !
Okiee! i guess u havn't used tables in ure code/html. ure image
and label should be in two different columns and if it still don't get solve
then make put image and label in two diff tables. hopefully this will solve
ure problem

with regards
yawar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top