Re: [css-d] Problems with printing in Firefox

2007-10-05 Thread Editors

On 4 Oct 2007, at 21:08, Alan K. Gay wrote:

> I have found that, while both the IE and FF print engines can be  
> buggy and
> produce different results than the screen, the FF engine is by far the
> worst, and quite unpredictable.  It's been a year or so since I've  
> had to
> regression-test printing in FF, but I would suggest starting by  
> taking all
> the positional stuff out of your css (floats, absolutes, etc) and  
> then add
> it back incrementally so you can see where things are breaking  
> down.  Once
> you find the gremlin(s), you can use the @media function to feed  
> different
> CSS to the print engine vs the display.  You may also need to make the
> print-only css different for IE and FF, so you will need to us the IE
> conditional style sheet approach.
>

Many thanks Alan for your good advice. It was the float instruction  
for the navigation div which was the problem. I had tried to write a  
print style-sheet originally, but ran out of time before I could make  
it work properly. I've now done it and it seems to work OK with all  
the browsers I've used in both OS X and Windows XP. The name and  
first address fields on the Join the Association page (www.local- 
history.co.uk/nlha/join.html) do come out a little longer than the  
other address fields in some browsers, but I can live with that.   
Once again, many thanks.

Susan Griffiths
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Problems with printing in Firefox

2007-10-04 Thread Alan K. Gay
I have found that, while both the IE and FF print engines can be buggy and
produce different results than the screen, the FF engine is by far the
worst, and quite unpredictable.  It's been a year or so since I've had to
regression-test printing in FF, but I would suggest starting by taking all
the positional stuff out of your css (floats, absolutes, etc) and then add
it back incrementally so you can see where things are breaking down.  Once
you find the gremlin(s), you can use the @media function to feed different
CSS to the print engine vs the display.  You may also need to make the
print-only css different for IE and FF, so you will need to us the IE
conditional style sheet approach.

Good luck.  You aren't alone, but from my experience very few websites are
actually tested with regards to printing, so it's a bit of a black art.  

Alan K. Gay 
www.buymetrics.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Editors
Sent: Thursday, October 04, 2007 12:17 PM
To: css-d@lists.css-discuss.org
Subject: [css-d] Problems with printing in Firefox


I'm very new to CSS and I'm hoping that list members might be able to  
help me.

I've redone a small site (www.local-history.co.uk/nlha) for a  
voluntary organisation, using CSS, and everything seemed to go pretty  
well, with both the CSS and the mark-up being validated successfully.  
I've loaded the site successfully in Safari and Firefox in OS X and  
in Firefox and IE in Windows XP but when I came to try and print out  
the 'How to join the Association' page I couldn't get Firefox in  
either OS X or in Windows to co-operate. Both Safari in OS X and IE  
in Windows XP printed it without any problems, but Firefox in OS X  
just printed a blank page and Firefox in Windows XP printed one of  
each of the page title, the URL, the date and '1 of 1' at one of the  
four corners of the page.

Firefox is my favourite browser in both OS X and Windows, so I've  
been very surprised by this problem. Any advice or observations which  
list members can offer would be much appreciated. I've been wondering  
whether the problem has been caused by my using a content wrapper to  
centre the whole page in the browser window? The style-sheet is at  
www.local-history.co.uk/nlha/global.css.

Many thanks

Susan Griffiths
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/





__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Problems with printing in Firefox

2007-10-04 Thread Editors
I'm very new to CSS and I'm hoping that list members might be able to  
help me.

I've redone a small site (www.local-history.co.uk/nlha) for a  
voluntary organisation, using CSS, and everything seemed to go pretty  
well, with both the CSS and the mark-up being validated successfully.  
I've loaded the site successfully in Safari and Firefox in OS X and  
in Firefox and IE in Windows XP but when I came to try and print out  
the 'How to join the Association' page I couldn't get Firefox in  
either OS X or in Windows to co-operate. Both Safari in OS X and IE  
in Windows XP printed it without any problems, but Firefox in OS X  
just printed a blank page and Firefox in Windows XP printed one of  
each of the page title, the URL, the date and '1 of 1' at one of the  
four corners of the page.

Firefox is my favourite browser in both OS X and Windows, so I've  
been very surprised by this problem. Any advice or observations which  
list members can offer would be much appreciated. I've been wondering  
whether the problem has been caused by my using a content wrapper to  
centre the whole page in the browser window? The style-sheet is at  
www.local-history.co.uk/nlha/global.css.

Many thanks

Susan Griffiths
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/