473,951 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

formatting text problem

I have a page using a master page the master page consists of a header and
left column table template. In the content area of the default page, I need
to place alot of text. I initially had a table with 1 column and a number of
rows for each paragraph so there would be space between each chunk of text.
However, all the text would not fill up the cells (rows) but instead only
about 10 letters on each line appeared with the rest of the cell to the right
of this text being blank. (like the text was "clingling to the left side
althought there was no alignment of any kind) I then removed the table and
was using labels for each paragraph but I don't know how to put spaces
between labels.

Why is the text not filling out each cell? What is the preferred method of
doing this simple thing?

I am a vb.net windows programmer and have no experience with this kind of
strange behavior.
--
smHaig
Mar 2 '06 #1
3 1404
DWS
smHaig,

Thanks for trying two differnt methods.
Here's some quick html help.
Is a space in html
<br /> is a line break

Put a line break between your paragraph labels. You can do this visually in
the designer by moving the cursor directly after the label and pressing the
enter key, Visual Studio will add a line break to your page markup.

Good Luck
DWS

"smHaig" wrote:
I have a page using a master page the master page consists of a header and
left column table template. In the content area of the default page, I need
to place alot of text. I initially had a table with 1 column and a number of
rows for each paragraph so there would be space between each chunk of text.
However, all the text would not fill up the cells (rows) but instead only
about 10 letters on each line appeared with the rest of the cell to the right
of this text being blank. (like the text was "clingling to the left side
althought there was no alignment of any kind) I then removed the table and
was using labels for each paragraph but I don't know how to put spaces
between labels.

Why is the text not filling out each cell? What is the preferred method of
doing this simple thing?

I am a vb.net windows programmer and have no experience with this kind of
strange behavior.
--
smHaig

Mar 2 '06 #2
Do you mean between the labels? because I was putting the text in the labels
in the attempt to prevent the problem I was having which is that when the
text to put in table cells it looks like this:

the text stops at

this position and
does not
go to the end of the
cell which is the entire
length of the page. This
is in a content section
since I have a master
page that has an image
on the left hand side.

What is the correct way to put alot of text on a page. If in a table, which
is what I presumed it to be, why is the above happening when I have no
alignments on my 1 col table?
--
smHaig
"DWS" wrote:
smHaig,

Thanks for trying two differnt methods.
Here's some quick html help.
Is a space in html
<br /> is a line break

Put a line break between your paragraph labels. You can do this visually in
the designer by moving the cursor directly after the label and pressing the
enter key, Visual Studio will add a line break to your page markup.

Good Luck
DWS

"smHaig" wrote:
I have a page using a master page the master page consists of a header and
left column table template. In the content area of the default page, I need
to place alot of text. I initially had a table with 1 column and a number of
rows for each paragraph so there would be space between each chunk of text.
However, all the text would not fill up the cells (rows) but instead only
about 10 letters on each line appeared with the rest of the cell to the right
of this text being blank. (like the text was "clingling to the left side
althought there was no alignment of any kind) I then removed the table and
was using labels for each paragraph but I don't know how to put spaces
between labels.

Why is the text not filling out each cell? What is the preferred method of
doing this simple thing?

I am a vb.net windows programmer and have no experience with this kind of
strange behavior.
--
smHaig

Mar 2 '06 #3
I think I have figured it out and it is cautionary tale for programmers not
familiar with the vagaries of HTML. "Look at the source. Don't trust the
design."

Although I had spread out my table to cover the entire content section and
the souce indicated it was 734px, each row maintained the original table
size, 100 px. thus when I ran it, the text, though looking like it went
across 734px in design mode, really only went 100 px, thus the "clinging to
the margin" look. When I went into the source and changed the size of each
row to 734, it went across ok (it looks like it did when I ran it anyway). I
feel like I am back with foxpro for dos: @row...@col, etc.
--
smHaig
"smHaig" wrote:
I have a page using a master page the master page consists of a header and
left column table template. In the content area of the default page, I need
to place alot of text. I initially had a table with 1 column and a number of
rows for each paragraph so there would be space between each chunk of text.
However, all the text would not fill up the cells (rows) but instead only
about 10 letters on each line appeared with the rest of the cell to the right
of this text being blank. (like the text was "clingling to the left side
althought there was no alignment of any kind) I then removed the table and
was using labels for each paragraph but I don't know how to put spaces
between labels.

Why is the text not filling out each cell? What is the preferred method of
doing this simple thing?

I am a vb.net windows programmer and have no experience with this kind of
strange behavior.
--
smHaig

Mar 2 '06 #4

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

Similar topics

4
1867
by: Rob Meade | last post by:
Hi all, Ok - this leads on from speaking to a couple here and in the SQL server group... I've an application which allows the user to type in their text into a form, they add 'happy' tags around their words, the app then replaces these with the html equivalent and saves it to the database... Thus far this has been working very well.
3
5954
by: Jouke Langhout | last post by:
Hello all! For quite some time now, I've got the following problem: Access won't close properly when a user closes the application. An ACCESS process stays active and that process can only be terminated by pressing ++ and then terminate the process. I searched the entire internet and found out that there could be two things wrong (both of them are mentioned in the bug list on the access
4
3160
by: Bradley | last post by:
I have an A2000 database in which I have a continuous form with a tick box. There is also a text box with a conditional format that is based on the expression , if it's true then change the background colour. In A2000 it works great, but in A2003 the background doesn't always change and when it does it only changes when the record looses the focus. Any way around this? Is it a bug? Or have they "improved" it?
8
3554
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At the moment the printed output is usually going to Word. It's turning into an unholy mess, because I'm having to prepare umpteen different Word templates, and the queries that drive them, depending on what events a course has.
2
1190
by: Sara | last post by:
The problem: Conditional formatting bold, red when field Value < date() sets the field background to white - always - whether condition is met or not. I want the field unfilled and just red/bold when the date has passed. Background: I have 2 related fields that are only rarely active, so I manage them in the query for the subform: ShowBlanket: IIf(,"Blanket","") and
8
9205
by: G.Ashok | last post by:
Hi, I have created CultureInfo object and specified required digit grouping in it. The one of the overloaded ToString methods of Decimal type has parameters to format the value with required custom format and a IFormatProvider. I pass a custom format string for positive, negative and Zero (3 sections) and CultureInfo object containing the required DigitGrouping as IFormatProvider. But ToString is not formatting the value using the digit...
8
8540
by: Typehigh | last post by:
I have many text fields with conditional formatting applied, specifically when the condition is "Field Has Focus". Without any events associated with the fields the conditional formatting works perfectly. However, I have code that runs under the ON CLICK event. The code changes the focus to other controls, which means the conditional formatting is no longer displayed. This part makes sense to me. Here's what doesn't make sense. The last...
14
4411
by: Scott M. | last post by:
Ok, this is driving me nuts... I am using VS.NET 2003 and trying to take an item out of a row in a loosely-typed dataset and place it in a label as a currency. As it is now, I am getting my unformatted data values (as decimals) just fine, so I know there's not a problem with the data retrieval, just the formatting. I have read that this would work: lblPrice.Text = prodRow.ToString("C");
10
2168
by: sara | last post by:
Hi - I have a report that is 14 columnar sub-reports (Line up: Position- holders in each of our 14 locations - Manager, Assistant Manager, Receiving, Office, etc). I output directly to PDF (using ConvertReportToPDF from this site - Stephan Lebans) The formatting - Outlines on some fields - do not appear on subreports
6
4617
by: Tomasz J | last post by:
Hello developers, I bind my TextBox control specyfying a format stored in my application global ApplicationContext object - it has a static string CurrencyFormat property. The problem - this works fine: Text='<%# Eval("Price", ApplicationContext.CurrencyFormat) %>'
0
10173
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9994
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11604
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10703
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9905
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8269
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7444
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6353
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3560
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.