473,583 Members | 2,878 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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********@hotm ail.com
http://www.nathansokalski.com/
Nov 19 '05 #1
2 2327
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********@hot mail.com> wrote in message
news:OQ******** ******@TK2MSFTN GP14.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********@hotm ail.com
http://www.nathansokalski.com/

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

"Nathan Sokalski" <nj********@hot mail.com> wrote in message
news:OQ******** ******@TK2MSFTN GP14.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********@hotm ail.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
1528
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 give it information, click next, enter more info and then at the end you review and submit the item. I was thinking about sessions, but some of the...
13
2195
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, isn't it? What are some tips to make a program quicker? TIA, cmad
3
10936
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 works only in Internet Explorer (which is why I comment that I think it's poorly conceived because a navigation link limited to a specific browser is,...
3
3978
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 idle time by the client as it waits for a query to execute and return a dataset. As a test, I initially wrote two versions: ' // Sequential &...
351
12875
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 do) occur in any language. These assumptions are generally made because of familiarity with the language. As a non-code example, consider the idea...
41
2337
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() function should be good enough to avoid that, so i may be seeing things. Zytan
2
1271
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 changes, to a database that is shared by approximately 20 people. I make these updates every 2 weeks or so. How the database is set up is that there is a...
0
1524
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 data that would work well (very well in fact) defined as XML documents and I want to enrich that data with additional User defined information (child...
11
6236
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 the app is concerned). The problem is, If someone makes a typo, they may get an unexpected error due accidentally calling the original attribute...
1
3436
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 which product is in what catalog I want to select from product: name, price, created(date), updated(date) and first_name, last_name from employee...
0
7888
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8159
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8314
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7922
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6571
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5689
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3811
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3836
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.