473,466 Members | 1,364 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Styling a printable 'form'

CJM
....When I say 'form' I'm talking about a conventional paper version, as
opposed to a <form>.

I'm building a web-based application which needs to be able to create
Invoices/Advice Notes/Order Acknowledgements etc... The application itself
has a largely fluid layout, but for these printed documents I need to make
them fixed, such that the printed layout is consistent. That is, they need
to look consistent on an A4 page.

Its worth noting that the printable version will be displayed in a page, but
only to be immediately printed. That is, there doesnt specifically need to
be a screen stylesheet, since the user will only print the page, rather that
look at it on-screen.

Before I start bodging my own solution, I thought I'd better do some
homework on what the best approach to take - hence I'm asking you guys!

I've googled for help, and there is plenty out there, but I'm still sorting
the wheat from the chaff. I'm also finding a few annoying things like that
there is a great @Page directive in CSS, which is all but unsupported!

Most of these forms/documents are tabular by nature, but I'm trying to
resist resorting to a tables-within-tables layout as yet.

How best do I control this layout? Do I specify a bounding block of a fixed
width? Do I use px/pt/cm/em/etc widths? How do I make sure that the content
wraps rather than stretches it's container?

It's hard to ask more specific questions because I don't know what I don't
know!

Anyway, thanks in advance...

Chris
--
cj*******@REMOVEMEyahoo.co.uk
[remove the obvious bits]
Jul 23 '05 #1
10 2494
CJM
Oops! Wrong group - reposted in c.i.w.a.s!
Jul 23 '05 #2
me
"CJM" <cj******@REMOVEMEyahoo.co.uk> wrote in message
news:3a*************@individual.net...
...When I say 'form' I'm talking about a conventional paper version, as
opposed to a <form>.

I'm building a web-based application which needs to be able to create
Invoices/Advice Notes/Order Acknowledgements etc... The application itself
has a largely fluid layout, but for these printed documents I need to make
them fixed, such that the printed layout is consistent. That is, they need
to look consistent on an A4 page.

Its worth noting that the printable version will be displayed in a page, but only to be immediately printed. That is, there doesnt specifically need to
be a screen stylesheet, since the user will only print the page, rather that look at it on-screen.

Before I start bodging my own solution, I thought I'd better do some
homework on what the best approach to take - hence I'm asking you guys!

I've googled for help, and there is plenty out there, but I'm still sorting the wheat from the chaff. I'm also finding a few annoying things like that
there is a great @Page directive in CSS, which is all but unsupported!

Most of these forms/documents are tabular by nature, but I'm trying to
resist resorting to a tables-within-tables layout as yet.

How best do I control this layout? Do I specify a bounding block of a fixed width? Do I use px/pt/cm/em/etc widths? How do I make sure that the content wraps rather than stretches it's container?

It's hard to ask more specific questions because I don't know what I don't
know!

Anyway, thanks in advance...

Chris
--
cj*******@REMOVEMEyahoo.co.uk
[remove the obvious bits]


Looking deep into my crystal ball I see a bad experience in your future (not
from me mind you). I predict that you will soon be flamed into oblivion.
Turn back from the evil side of the force Chris before it's too late!!!
Signed,
me

PS: I too am a heretic and generally reviled here and in c.i.w.a.s because
of my preference for tables, fixed font sizes, non-fluid layout, JS and
because I use IE on Windows (did I leave something out folks?) etc etc etc.
Jul 23 '05 #3
me wrote:
Looking deep into my crystal ball I see a bad experience in your
future (not from me mind you). I predict that you will soon be
flamed into oblivion. Turn back from the evil side of the force
Chris before it's too late!!! Signed, me

PS: I too am a heretic and generally reviled here and in c.i.w.a.s
because of my preference for tables, fixed font sizes, non-fluid
layout, JS and because I use IE on Windows (did I leave something
out folks?) etc etc etc.


Well, sometimes you have a sense of humor... <g>

--
-bts
-This space intentionally left blank.
Jul 23 '05 #4
me
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message
news:3a*************@individual.net...
me wrote:
Looking deep into my crystal ball I see a bad experience in your
future (not from me mind you). I predict that you will soon be
flamed into oblivion. Turn back from the evil side of the force
Chris before it's too late!!! Signed, me

PS: I too am a heretic and generally reviled here and in c.i.w.a.s
because of my preference for tables, fixed font sizes, non-fluid
layout, JS and because I use IE on Windows (did I leave something
out folks?) etc etc etc.


Well, sometimes you have a sense of humor... <g>


Humor is usually (always?) based on reality.
Signed,
me
Jul 23 '05 #5
In article <11*************@corp.supernews.com>, anonymous@_.com enlightened
us with...

PS: I too am a heretic and generally reviled here and in c.i.w.a.s because
of my preference for tables, fixed font sizes, non-fluid layout, JS and
because I use IE on Windows (did I leave something out folks?)


Your charming personality and wit.

--
--
~kaeli~
What, me, normal?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #6
me
"kaeli" <ti******@NOSPAM.comcast.net> wrote in message
news:MP************************@nntp.lucent.com...
In article <11*************@corp.supernews.com>, anonymous@_.com enlightened us with...

PS: I too am a heretic and generally reviled here and in c.i.w.a.s because of my preference for tables, fixed font sizes, non-fluid layout, JS and
because I use IE on Windows (did I leave something out folks?)


Your charming personality and wit.


No hard feelings then? I won't get tirades when I give advice, at least not
from you? :-)
Signed,
me
Jul 23 '05 #7
CJM wrote:
I'm building a web-based application which needs to be able to create
Invoices/Advice Notes/Order Acknowledgements etc... The application itself
has a largely fluid layout, but for these printed documents I need to make
them fixed, such that the printed layout is consistent. That is, they need
to look consistent on an A4 page.


As you've discovered, HTML - with or without CSS - isn't very well suited to
what you need to do. Instead of trying to force a square peg into a round
hole, why not simply deliver a document format that's purpose-designed for
what you want to do? PDF, for example. There are, I believe, various
server-side solutions for generating PDF documents on the fly.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Jul 23 '05 #8
me wrote:
Looking deep into my crystal ball I see a bad experience in your future (not
from me mind you). I predict that you will soon be flamed into oblivion.
Turn back from the evil side of the force Chris before it's too late!!!
Signed,
me

PS: I too am a heretic and generally reviled here and in c.i.w.a.s because
of my preference for tables, fixed font sizes, non-fluid layout, JS and
because I use IE on Windows (did I leave something out folks?) etc etc etc.


I share yr preference for fixed-size fonts... (pls see
http://www.francesdelrio.com/fonts.html, which I posted in response to a
long thread re verdana in c.i.w.a.s....) have been reviled and cursed
at plenty for it (here and in c.i.w.a.s...)
also like to use JS, not excessively so, but I do like pop-ups..;) (I
think pop-ups opened by users are fine, and I think you can do good UI
w/them if you script them right..)

my two cents........ :)........ Frances

Jul 23 '05 #9
In article <11*************@corp.supernews.com>, anonymous@_.com enlightened
us with...

Your charming personality and wit.


No hard feelings then? I won't get tirades when I give advice, at least not
from you? :-)


Not from me.
I gave up on you.
It's like talking to a brick wall. Or, more accurately, banging my head real
hard against one. It gives me a headache and doesn't change a thing to make
the web more friendly for disabled users.

--
--
~kaeli~
Why did kamikaze pilots wear helmets?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #10
me
"Frances Del Rio" <fd***@yahoo.com> wrote in message
news:3a*************@individual.net...
me wrote:
Looking deep into my crystal ball I see a bad experience in your future (not from me mind you). I predict that you will soon be flamed into oblivion.
Turn back from the evil side of the force Chris before it's too late!!!
Signed,
me

PS: I too am a heretic and generally reviled here and in c.i.w.a.s because of my preference for tables, fixed font sizes, non-fluid layout, JS and
because I use IE on Windows (did I leave something out folks?) etc etc
etc.
I share yr preference for fixed-size fonts... (pls see
http://www.francesdelrio.com/fonts.html, which I posted in response to a
long thread re verdana in c.i.w.a.s....) have been reviled and cursed
at plenty for it (here and in c.i.w.a.s...)
also like to use JS, not excessively so, but I do like pop-ups..;) (I
think pop-ups opened by users are fine, and I think you can do good UI
w/them if you script them right..)

my two cents........ :)........ Frances


My good friend (may I call you friend?) and ally, I feel we are kindred
spirits. You're obviously a man of exceptional taste and intellect. Keep up
the good work and fight the good fight to express yourself any way you damn
well please. I like your site too!
Your Friend,
me
Jul 23 '05 #11

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

Similar topics

2
by: Daniel Alexandre | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I'm using the following method in my program to check whether a message received is printable or not and to strip the non-printable...
17
by: CJM | last post by:
....When I say 'form' I'm talking about a conventional paper version, as opposed to a <form>. I'm building a web-based application which needs to be able to create Invoices/Advice Notes/Order...
3
by: Rod | last post by:
I want to produce some reports designed for printing. (like you can in Access). I can't find the equivalent, what's the accepted way of achieving something similar. many thanks Rod
8
by: Sam Halliday | last post by:
i want to have a function which can print the printable form (possibly a 2 character string) of a character on UNIX like systems. for example, if i were to pass the ascii value '\3', i would like...
5
by: **Developer** | last post by:
How do I know if the value in a KeyEventArgs is printable? Basicacally, in KeyUp I'd like to know if the character is printable, as opposed to say, a backspace. I suppose I could check...
3
by: Garmt de Vries | last post by:
On the website of the Dutch Jules Verne Society (www.jules-verne.nl), we have several forms that visitors can use to order something, or to apply for membership. Of course, a form's primary purpose...
4
by: sklett | last post by:
I've developed an ERP application that we use internally and works quite well. I receiving more and more requests from users to print various transactions, order forms, search results, etc. I...
40
by: Jukka K. Korpela | last post by:
My basic style sheet has a distinctive background and border for forms, to make the structure clearer and to make it visually evident what belongs to a form. However, as people complained that...
2
by: shapper | last post by:
Hello, I am styling the labels on a section of my page as follows: label {float: left; width: 6.5em;} Now I want to remove this styling from a label that has the class "Message". Mu...
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
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...
1
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.