Solved

stylesheet printing problems

Posted on 1998-03-23
9
211 Views
Last Modified: 2013-12-25
With Netscape communicator, I have set up a stylesheet that looks good on the screen.  But, the print is not the same as the screen display.  The main problem is with the margins.  When I use 'in' or 'pt' for units, the margin is 3 or 4 times what it should be.  When I use units of '%' and 'em', there is no margin at all.  Also, when I use '1.5em' to increase the font-size, there is no effect.

The problem seems to be the browser since the printer works for everything else.

I had the same problem with Explorer version 4, but I was able to fix it with a MEDIA attribute that modifies the print specification.  The unit that worked best was points.

How can I fix the print problem with Netscape without affecting the screen display?  Is there some unit that will work for both screen and print?

The page is available at:

http://www.angelfire.com/nm/jpattee/Resume5StyleNC2.html

There is no link to this page, and there are pages with similar names in the same directory, so be sure to get the correct one.  It looks OK when displayed but not when printed.
0
Comment
Question by:jpattee
9 Comments
 
LVL 3

Expert Comment

by:bigelos
ID: 1858056
Could you post the URL?
0
 
LVL 1

Expert Comment

by:hutter
ID: 1858057
From http://www.htmlhelp.com/reference/css/style-html.html:

Netscape Navigator 4.x incorrectly ignores any linked or embedded style sheets declared with MEDIA values other than screen. For
             example, MEDIA="screen, projection" will cause the style sheet to be ignored by Navigator 4.x, even if the presentation device is a
             computer screen. Navigator 4.x also ignores style sheets declared with MEDIA=all.

So I guess there's a problem with NS4 and media... :-(
0
 

Author Comment

by:jpattee
ID: 1858058
Edited text of question
0
 

Author Comment

by:jpattee
ID: 1858059
I have loaded a test file to the web site and added the location to the original question.  The STYLE does not have a MEDIA attribute so that is not the problem.

0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 3

Expert Comment

by:slok
ID: 1858060
Netscape in its current release does not support CSS printing yet.
However, IE is up on this one.
And the current situation is that IE supports more CSS features than Netscape.
0
 

Author Comment

by:jpattee
ID: 1858061
I need a solution or workaround to the problem.  Netscape doesn't have a MEDIA="print" statement, but there should be a way to correct the problem.  Other Netscape attributes print as described by CSS.  An adequate response should indicate a solution, not a reason for it not working.

0
 
LVL 1

Expert Comment

by:HawkXL
ID: 1858062
Goto File > Page setup, and you can do it that way!
0
 

Author Comment

by:jpattee
ID: 1858063
I need more specific information.  What do I do in the Page Setup to fix it?

0
 
LVL 3

Accepted Solution

by:
hkp earned 300 total points
ID: 1858064
You wait for Netscape to take care of the missing functionality. The Netscape Navigator 4 simply ignores other media types than "screen". There is no other answer.
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
Asp/Net Validation date Issue 9 53
connect a series of circles by line based on clicks 4 52
Wrapper for APPs 9 35
move widget title down 4 8
Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

910 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

15 Experts available now in Live!

Get 1:1 Help Now