473,800 Members | 2,379 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6990
"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.infosystem s.www.authoring.stylesheets, Peter Foti
<pe****@systoli cnetworks.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************ ************@ne ws.odyssey.net> in
comp.infosystem s.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
41737
by: Bob Bedford | last post by:
I've an image in a cell of a table. I've this CSS: ..dbtable{ width: 600px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; border-collapse: collapse; border: 1px solid #000000;
3
17797
by: David Lee | last post by:
I have some web pages on which I'd like to suppress certain items when printing. This is mostly working nicely: index.htm (here stripped to relevant essentials) has: <head> <link rel="stylesheet" href="style0.css" type="text/css"> <link rel="stylesheet" href="print0.css" type="text/css" media="print"> <head> <body>
4
8938
by: Konrad Viltersten | last post by:
As it isnow i have to use a syntax for my tables as: <table class = "some" border> and/or <table class = "some" noborder> Now, what i'd like to do is to make that border-thingy appear/desappear using javascript. Is it solvable that way? I tried to rely on CSS but i didn't find any good info on this matter...
11
3581
by: Norman L. DeForest | last post by:
Am I misunderstanding the CSS specifications or is Firefox (version 1.0.6) (and Opera) doing the wrong thing? It appears that Firefox 1.0.6 includes the border in width calculations for tables but not in height calculations. Oh, and Opera version 8.02 does the same thing. |<-->| |<-->| <------ border |<------------>| <------ table contents
22
12993
by: Alan Silver | last post by:
Hello, I am updating some old web pages, and have come across a problem. I have some tables where the opening tag looks like... <table border="1" bordercolor="#ffffff"> which gives a nice flat border around the table in IE, and a fairly unpleasant (IMO) 3D-effect border in Firefox.
0
1963
by: landon.chelf | last post by:
I'm working with a RichTextBox control and am loading the following rtf into it. {\rtf1\ansi\deff0 {\fonttbl {\f0\fswiss Arial;} } \deflang1033\plain\fs20 {\pard \trowd\cellx2500\cellx3000\cellx3500\cellx4000
10
11056
by: phil-news-nospam | last post by:
I have a table with 3 columns in 1 row. I want to increase the spacing _between_ the columns (gutter) _without_ increasing the spacing between those columns and the table itself. Is there a way to do that in CSS without having to code in extra dummy columns in HTML to create gutters? -- ----------------------------------------------------------------------------- | Phil Howard KA9WGN | http://linuxhomepage.com/ ...
0
2642
by: David Stone | last post by:
I have a page containing a table which displays as expected but which, when printed from either Firefox or Camino, loses some of the vertical borders between cells in both the table head and body. It does not do this in Safari, but then Safari also does not include the background colours when printing. (When I print, I'm missing the borders between columns 5 & 6, 8 & 9, and 10-12. All the other borders appear correctly) Is this some...
7
3385
by: Mariusf | last post by:
I am a novice Perl programmer and need to change a perl script that I use to create web pages with thumbnail images and some text. Currently the script created a web page for each artist / category with all the thumb images below one another in the table. Thus the table has one column with a row for each image. I am trying to change the script to have 3 columns in the table in the end (first testing with second column as in the attached...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.