473,800 Members | 2,738 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1925
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...@s ohnen-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:hidde n" 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
5478
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 characters: CheckPrintable(self,message): printablemessage = ""
2
1319
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 library) and easy way to do this? (For example: may be build an XML document from the data and then convert it into PDF format.)
7
911
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 how to use Command-Line Arguments inside C program.
2
3594
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 that is displayed in a text box. Once displayed, the text will be copied, transmitted and then pasted (all manually by humans) into a second utility where the string must then be reverse-engineered into the *original* byte array. The byte array will...
3
1414
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 library) and easy way to do this? (For example: may be build an XML document from the data and then convert it into PDF format.)
5
6320
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 desired. All this works fairly well. However, as a followup I'd like to create a report this data as a report (or booklet) in printed format. The simplest and probably least satisfactory way is to format it in very simple HTML and import it...
1
1245
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 suggestions would be appreciated.
1
2174
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
1586
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 present in the xml file.Is there any xml - way to do so or i have to parse the xml file and generate the printing structure myself.Thank you. Regards, john
0
9690
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
9550
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,...
1
10250
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9085
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...
0
6811
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
5603
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2944
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.