HighDots Forums  

Table cell borders on print, not on screen

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Table cell borders on print, not on screen in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Stan Brown
 
Posts: n/a

Default Table cell borders on print, not on screen - 10-20-2003 , 01:28 PM






URL: http://www.acad.sunytccc.edu/instruc...t/mygrades.htm
CSS: http://www.acad.sunytccc.edu/instruct/sbrown/screen.css
Both validate without errors or warnings under W3C validators.

This should look like this screenshot (44K)
http://www.acad.sunytccc.edu/instruct/sbrown/zonk.gif
made with Mozilla 1.4. But MSIE 6.0, under Win98 or WinXP, leaves
off all the borders of the table cells. Print Preview does look
correct under MSIE6.

Am I doing something wrong? Is this a(nother) bug in MSIE6? Either
way, is there a workaround?

One thing I'm suspicious of is my media="screen, projection" in the
HTML document. Does that create some problem in IE6? (It's there to
hide the CSS from NS4.)

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/

Reply With Quote
  #2  
Old   
Peter Foti
 
Posts: n/a

Default Re: Table cell borders on print, not on screen - 10-20-2003 , 02:05 PM






"Stan Brown" <the_stan_brown (AT) fastmail (DOT) fm> wrote

Quote:
URL: http://www.acad.sunytccc.edu/instruc...t/mygrades.htm
CSS: http://www.acad.sunytccc.edu/instruct/sbrown/screen.css
Both validate without errors or warnings under W3C validators.

This should look like this screenshot (44K)
http://www.acad.sunytccc.edu/instruct/sbrown/zonk.gif
made with Mozilla 1.4. But MSIE 6.0, under Win98 or WinXP, leaves
off all the borders of the table cells. Print Preview does look
correct under MSIE6.

Am I doing something wrong? Is this a(nother) bug in MSIE6? Either
way, is there a workaround?

One thing I'm suspicious of is my media="screen, projection" in the
HTML document. Does that create some problem in IE6? (It's there to
hide the CSS from NS4.)
If hiding your CSS from NS4 is your goal, why not just use @import?
<style type="text/css">
@import url(http://style.com/basic);
</style>

Regards,
Peter Foti




Reply With Quote
  #3  
Old   
Stan Brown
 
Posts: n/a

Default Re: Table cell borders on print, not on screen - 10-20-2003 , 04:46 PM



In article <vp8cci4f1gig53 (AT) corp (DOT) supernews.com> in
comp.infosystems.www.authoring.stylesheets, Peter Foti
<peterf (AT) systolicnetworks (DOT) com> wrote:

Quote:
If hiding your CSS from NS4 is your goal, why not just use @import?
style type="text/css"
@import url(http://style.com/basic);
/style
I have different style sheets for print and screen, and my
understanding is some browser versions don't understand a media
restriction on import. Is that right?

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/


Reply With Quote
  #4  
Old   
Stan Brown
 
Posts: n/a

Default Re: Table cell borders on print, not on screen - 10-21-2003 , 02:05 PM



In article <MPG.19fdf371f652ec3298b5d9 (AT) news (DOT) odyssey.net> in
comp.infosystems.www.authoring.stylesheets, Stan Brown
<the_stan_brown (AT) fastmail (DOT) fm> wrote:
Quote:
URL: http://www.acad.sunytccc.edu/instruc...t/mygrades.htm
CSS: http://www.acad.sunytccc.edu/instruct/sbrown/screen.css
Both validate without errors or warnings under W3C validators.

This should look like this screenshot (44K)
http://www.acad.sunytccc.edu/instruct/sbrown/zonk.gif
made with Mozilla 1.4. But MSIE 6.0, under Win98 or WinXP, leaves
off all the borders of the table cells. Print Preview does look
correct under MSIE6.

Am I doing something wrong? Is this a(nother) bug in MSIE6? Either
way, is there a workaround?
It appears to be a bug in MSIE. Today I got finally access to a
machine where I had enough time to experiment, stripping the page
down to make smaller and smaller cases.

I had a rule
table.mystd td { border: solid 2px }
and MSIE was not ccomputing the border color correctly (on screen).
As soon as I changed it to
table.mystd td { border: solid 2px black }
the cell borders appeared.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.