469,282 Members | 1,664 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Table cell borders on print, not on screen

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/
Jul 20 '05 #1
3 6730
"Stan Brown" <th************@fastmail.fm> wrote in message
news:MP************************@news.odyssey.net.. .
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
Jul 20 '05 #2
In article <vp************@corp.supernews.com> in
comp.infosystems.www.authoring.stylesheets, Peter Foti
<pe****@systolicnetworks.com> wrote:
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/
Jul 20 '05 #3
In article <MP************************@news.odyssey.net> in
comp.infosystems.www.authoring.stylesheets, Stan Brown
<th************@fastmail.fm> wrote:
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/
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Bob Bedford | last post: by
3 posts views Thread by David Lee | last post: by
4 posts views Thread by Konrad Viltersten | last post: by
11 posts views Thread by Norman L. DeForest | last post: by
reply views Thread by landon.chelf | last post: by
10 posts views Thread by phil-news-nospam | last post: by
reply views Thread by David Stone | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.