Solved

stylesheet printing problems

Posted on 1998-03-23
9
210 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 …
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

758 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