By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,203 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

Table cell borders on print, not on screen

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
"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

P: n/a
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

P: n/a
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.