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

Printable format broken

This is my site: http://arancaytar.ermarian.net/

I am using this stylesheet to generate a printable version of the page
(using media="print"):

http://arancaytar.ermarian.net/sites...heme/print.css

But for some reason, Firefox will only print a single A4 page. Rather
than breaking the page once it is full, the entire content <div>
appears to stretch out of sight beyond the bottom margin of the page.

Curiously, the pagination works in IE7 - although that browser has
issues with the rest of the markup (such as wrapping <div>s that are
inside paragraph tags in <object>).

I am guessing that the error is in a stylesheet (if not in print.css,
perhaps in the other stylesheets on the page) - perhaps something to
do with "overflow"? But I can't figure out more than that...

Jun 6 '07 #1
3 1910
Arancaytar wrote:
This is my site: http://arancaytar.ermarian.net/

I am using this stylesheet to generate a printable version of the page
(using media="print"):
ISTR that you must add this to your print CSS file to be sure all
browsers get it:

@media print {

/* the print.css */

}

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 6 '07 #2
On Jun 6, 9:19 pm, Jim Moe <jmm-list.AXSPA...@sohnen-moe.comwrote:
ISTR that you must add this to your print CSS file to be sure all
browsers get it:
The print.css file itself is used correctly by all browsers I tested
with (Firefox and Internet Explorer). It hides the sidebar and
navigation links, but shows the URL of hyperlinks behind the link
text. That doesn't seem to be the problem.

However, the content overflows over the edge of the first page without
starting a new page in Firefox. I've taken the time to make the markup
and CSS valid again, but the problem is still there...

--
Aran

Jun 7 '07 #3
Okay, it seems to be caused by the "overflow:hidden" property (makes
sense in a way). I don't know why the author of the original template
put that in, but then they didn't appear to hold with W3C validation
either. It works both in the normal form and in print now.
--
Aran

Jun 7 '07 #4

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...
2
by: Sean | last post by:
Hi, I have a situation here regarding a VB.net application. I need to convert a bunch of data to a presentable and printable format. Is there an economical (perhaps an open source third party...
7
by: SunRise | last post by:
Hi I am creating a C Program , to extract only-Printable-characters from a file ( any type of file) and display them. OS: Windows-XP Ple help me to fix the Errors & Warnings and explain...
2
by: Bryan | last post by:
Apologies if this is a noob question, but I've been struggling with this for quite a while... I'm trying to convert a byte array (encrypted authorization code) into a *screen-printable* string...
3
by: Sean | last post by:
Hi, I have a situation here regarding a VB.net application. I need to convert a bunch of data to a presentable and printable format. Is there an economical (perhaps an open source third party...
5
by: Peter Chant | last post by:
Any thoughts in the newsgroup? Over Christmas I produced, using PHP and MySQL, a database and front end to record my familys family tree with a short biography and linked photos and locations if...
1
by: nithu | last post by:
hi frens, i am an fresh graduate..... n also new to vb..... pls help me.... how to display values in text boxes retrieved from db in printable format? any sort of help or...
1
by: cbitongg | last post by:
Hello, I have a problem producing a printable report..how do you do taht in PHP?? it should be in a word format or in a PDF format Anybody who could help me with this?? :) thanks
2
by: happy.john1234 | last post by:
I have got a well formed xml file that contains some information.Now i have to print that information in some well formed format like in tabular form which presents each and every information...
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
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
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
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...
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,...

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.