Solved

Layers printing problem in Netscape

Posted on 2004-08-26
4
143 Views
Last Modified: 2010-05-18
Hi All,

In one of my application I am using layers (<DIV> tag). Basically layout is similar to Gantt Chart. I am displaying the Grid format and on the Grid I am overlapping layers to show the information. My current implementation is like this: I am placing the layers at the proper positions (i.e. in Table TD's) and at last I am positioning them using the Javascript. But while printing all the layers are appearing on the top left of the page. Actually they should be printed at the position where I am positioning them using the javascript. Everything is fine when I am viewing it in the Browser.

Thanks in advance.

With Best Regards,
Kamlesh
0
Comment
Question by:kamlesh_agrawal
4 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 250 total points
ID: 11902436
If you are using positioning attributes, floats and overlayw with z-index your chances of printling the way it looks are zero.  Trying to print tables correctly is also a challenge, but it does not matterbecaue the other stuff is going to mess up printing no matter what you do.

Youe either have to develop an alternate print style sheet to communicate a two dimensional version of the page for the printer, or convert to PDF for printing.  You can post the code; an dperhaps we can suggest how to do some alternate styling, but I can just about guarantee you that there is going to be substantial differences in rendering for print and screen because printers can only work with 2-dimensional specifications.

Cd&
0
 
LVL 2

Expert Comment

by:Epistemo
ID: 11948414
Hi Kamlesh .... what platform are you using and what language?
And COBOLdinosaur is 100% correct on the style.
You using a database for the content storage or is this 100% flatfile?
If so try creating a pdf (on the fly) of the content might be a solution to your problems.

Also try implementing a different style for your print functions.
Here us something:

http://www.alistapart.com/articles/goingtoprint/

Solution is not very simple, like COBOLdinosaur mentioned before.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
XSLT 5 42
How to translate path in URL with PHP? 11 39
video playback resume on webpages 2 66
Some high points and examples of what's great about Facebook React? 5 121
Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now