473,394 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Making a multi-line Label

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.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Nov 19 '05 #1
2 2317
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
"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:OQ**************@TK2MSFTNGP14.phx.gbl...
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.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

Nov 19 '05 #2
I would use tables to control the layout.

"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:OQ**************@TK2MSFTNGP14.phx.gbl...
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.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Drew | last post by:
I need to develop an application that will span 12 or so pages, and on the last page, it lets the user review the data and then insert it all. This is kind of like selling something on eBay, you...
13
by: Chris Mantoulidis | last post by:
There must be some tips to make a program quicker. I guess more than 50% of ppl here will say "avoid the if-s". Yeah I know this makes a program quicker but some times an "if" is inevitable,...
3
by: Sandy Bremmer | last post by:
I was curious how one goes about properly creates a table row with multiple TD cells as a single hyperlink because I have seen examples of what I think is invalid and poorly conceived HTML. It...
3
by: usenetaccount | last post by:
In a newly created test app, to maximize client performance I tried to make two SOAP method calls in tandem (the soap methods execute some specified query), as each call includes a large amount of...
351
by: CBFalconer | last post by:
We often find hidden, and totally unnecessary, assumptions being made in code. The following leans heavily on one particular example, which happens to be in C. However similar things can (and...
41
by: Zytan | last post by:
Anyone do any tests on it? I would assume it has improved since C's rand(), but who knows. For some reason, and it could just be coincidence, I seem to see patterns. But even a crappy rand()...
2
by: CoopEng | last post by:
Hey all, I've been pouring through hundreds of forums recently and finally decided that I should get in on the action. I am trying to update some forms and reports, also some minor back end...
0
by: onegative | last post by:
G'day Y'all, I was hoping to get some expert feedback on a proposal I am considering regarding a new internal application to help fill some gaps in our IT department. I have some configuration...
11
by: Rafe | last post by:
Hi, I'm working within an application (making a lot of wrappers), but the application is not case sensitive. For example, Typing obj.name, obj.Name, or even object.naMe is all fine (as far as...
1
by: foobar | last post by:
I am doing a php webshop. I have 4 tables: product for product info, product_catalog for multi-level catalogs, product_product_catalog for binding product and product_catalog together -- it shows...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.