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

print truncates text

The Marketing folks are upset; when we print a web page, it truncates the
text on the right instead of wrapping. I've set all td widths to % and still
no help. When I resize the window, the text wraps. How do you keep this from
happening. TIA

By the way, VS 2005, IE6
Dec 14 '06 #1
2 1165
You have to re-design the page to fit within the narrower confines of a
printer. The printer has an even narrower width in pixels then a page on a
site. Setting the widths to % isn't going to do you any good because that's
percentage of the browser size, not the printable page region. Best bet is
to have stuff that really needs to be printed in PDF documents as that's a
controlable document surface. To get a web page that prints well isn't that
great of an idea. The marketing folks should do a bit of research before
burdening you with this. If they were to print out competitive sites how
would they look (pretty bad is the normal answer). That's the major reason
marketing provides PDF documents, to create a standardized format for
printing. It's the same reason that online bill payment sites will have a
"printable version" link that goes to a very stripped down page that only
holds payment information as a receipt.

You can also look into some special extensions for CSS that can be used for
printing. These can make certain elements visible or invisible when printing
and help re-define how the page looks when printed. This can be a true pain
though to gget really working well.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"prefersgolfing" <pr*************@hotmail.comwrote in message
news:um**************@TK2MSFTNGP04.phx.gbl...
The Marketing folks are upset; when we print a web page, it truncates the
text on the right instead of wrapping. I've set all td widths to % and
still no help. When I resize the window, the text wraps. How do you keep
this from happening. TIA

By the way, VS 2005, IE6

Dec 14 '06 #2
css has printing support. you create a print stylesheet for your doc.

<link rel="stylesheet"
type="text/css"
media="print"
href="myprint.css" />

in the style sheet make stuff you don't want to appear invisible, use
printer fonts and sizes, fixup background colors, etc.

-- bruce (sqlwork.com)

prefersgolfing wrote:
The Marketing folks are upset; when we print a web page, it truncates the
text on the right instead of wrapping. I've set all td widths to % and still
no help. When I resize the window, the text wraps. How do you keep this from
happening. TIA

By the way, VS 2005, IE6

Dec 14 '06 #3

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

Similar topics

4
by: knocker | last post by:
Hi I have a problem with JSP on websphere 5. When I try save information with swedish or danish ÅÄÖ characters, the string is cut where the first of these characters occurs. The JDK used is...
3
by: Hasani | last post by:
I tried using webBrowser.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER) but it returns asynchronously. Is there anyway I can know when the document has...
0
by: Kim | last post by:
Hello, I am selecting data from a text file in the following format: INSERT INTO SELECT * FROM " & sSource & " IN '' " & _ "'text;Database=" & sPath & ";FMT=Delimited;HDR=No' " & _ "WHERE =...
1
by: Kim | last post by:
Hello, I am selecting data from a text file with the following statement: "INSERT INTO SELECT * FROM " & sSource & " IN '' " & _ "'text;Database=" & sPath & ";FMT=Delimited;HDR=No' " & _...
1
by: L Mehl | last post by:
Hello -- Goal is to export data from tblData having this structure: dateRecord Date/Time textFrom Text 4 textTo Text 4 valueRecord Number Double (format = Standard, Dec Pl = 12)...
4
by: Anna | last post by:
Hi all, I have a query in ASP.NET that selects text from a memo field in Access (among other things). The query appears to be truncating the text at 255 characters. I've done a little research...
19
by: Jerry | last post by:
I managed to narrow this down to a very simple expression. try this: private void Bug() { bool b = false; Test(3, (b || b) && b && !b); } private void Works() {
9
by: Sean | last post by:
I am using a datagrid to display some data. I notice when I click in a cell where the data is longer than the cell width, it truncates the end of the data off. For example: The data is: This...
2
by: jej1216 | last post by:
I have a series of scripts that allow the user to a) create new data to insert into a MySQL DB, b) review that data, and c) change that data and do an update to the MySQL DB. For a), I use a basic...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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,...
0
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...

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.