473,326 Members | 2,110 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,326 software developers and data experts.

Labels - text wraps at runtime

bpd
The text in my labels are now wrapping at runtime when they were not
previously. In design mode, the text display fines. Did I
accidentally change a setting? I implemented AJAX (appeared to be
working fine on separate, new controls) and then I noticed the
wrapping. I removed the AJAX but they are still wrapping. Please
advise.
Thanks.

Mar 14 '07 #1
3 1482
On Mar 14, 9:40 pm, "bpd" <bryan.da...@rollcoater.comwrote:
The text in my labels are now wrapping at runtime when they were not
previously. In design mode, the text display fines. Did I
accidentally change a setting? I implemented AJAX (appeared to be
working fine on separate, new controls) and then I noticed the
wrapping. I removed the AJAX but they are still wrapping. Please
advise.
Thanks.
Add a style for your label

for example:

{white-space: nowrap}

or check the layout of the page (maybe another control beside broke it)

Mar 14 '07 #2
Remove any width settings you may have added at design time from the
label(s).
"bpd" <br*********@rollcoater.comwrote in message
news:11**********************@e1g2000hsg.googlegro ups.com...
The text in my labels are now wrapping at runtime when they were not
previously. In design mode, the text display fines. Did I
accidentally change a setting? I implemented AJAX (appeared to be
working fine on separate, new controls) and then I noticed the
wrapping. I removed the AJAX but they are still wrapping. Please
advise.
Thanks.

Mar 15 '07 #3
bpd
On Mar 14, 8:52 pm, "Scott M." <s...@nospam.nospamwrote:
Remove any width settings you may have added at design time from the
label(s).

"bpd" <bryan.da...@rollcoater.comwrote in message

news:11**********************@e1g2000hsg.googlegro ups.com...
The text in my labels are now wrapping at runtime when they were not
previously. In design mode, the text display fines. Did I
accidentally change a setting? I implemented AJAX (appeared to be
working fine on separate, new controls) and then I noticed the
wrapping. I removed the AJAX but they are still wrapping. Please
advise.
Thanks.- Hide quoted text -

- Show quoted text -
Thanks. I didn't have width settings to begin with. I should have
mentioned that in my original post.
I've corrected with nowrap and width in some cases. I am curious as
to how it broke after adding AJAX
support to the project and not adding anything to the already
completed pages.

Mar 15 '07 #4

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

Similar topics

11
by: Jamie Jackson | last post by:
Two part question: 1) I'd like to do have nicely indented checkbox labels, even where wraps occur (for instance, the way <li> wrapping works). So, I'd like this (where "_" = checkbox): _...
3
by: Kidus Yared | last post by:
I am having a problem displaying Unicode characters on my Forms labels and buttons. After coding Button1.Text = unicode; where the unicode is a Unicode character or string (‘\u1234’ or...
2
by: Mikey | last post by:
Sample VB .NET source code to create mailing labels or customized letters using MS Word MailMerge This VB .NET source code will start MS Word and call methods and set properties in MS Word to...
5
by: ZippyV | last post by:
Hello everybody, A couple of years ago I wrote a program in VB6. Using the designer I could align my labels to the right. When the text of the labels would change, the autosize feature would...
0
by: Keithb | last post by:
I have a GridView control with 2 template columns. Both contail a Label control in their ItemTemplate. The right column label wraps text on long strings, the left column just gets wider with long...
1
by: jyothi1105 | last post by:
Hi, I want to add textboxes and labels at runtime. Controls are to be added according to the value entered in textbox. txtfamily is a textbox,in which user gives the no of familymembers. i want...
1
by: pluggy | last post by:
Hello, I am trying to display, on an MS Access form (frm024), the contents of a table (tbl_TypeOfOrgs). The table has two fields, OrgTypeID and OrgType. It currently has 4 records. This table...
5
by: ofilha | last post by:
I have created a report in design mode. However, some of the fields i need are dynamic. That is, i have a series of fields text boxes mostly that must show up only as needed. I also have some...
0
by: dbsog7777 | last post by:
I was trying to use the sample code below, but I encountered two errors: Application.DoEvents() and AutoText(entry). I am not sure how to correct the errors. I trying to use the sample code to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.