Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"border-collapse: collapse;" in print preview does not work

0 views
Skip to first unread message

Vladislav Bezrukov

unread,
Nov 12, 2001, 7:51:48 AM11/12/01
to
Hello,
could you guys explain me this very strange behaviour with the
following html/css. In the browser mode (IE6, I guess it's the same with IE5.5)
the borders are displayed.
However in the print preview mode they are lost!
Any modification in the CSS properties leads to correct printing, even if
the height property gets smaller !
 
Any comments and especially workarounds are greatly appreciated !
 
Thank you,
Vladislav
 
<HTML>
<HEAD>
<STYLE>
.page { position: absolute;
        height: 289mm;
}
.win { position: absolute; }
.tr  {
       border-collapse: collapse;
       width: 5cm;
}
#C11 { border: 1pt solid black; }
#C12 { border: 1pt solid black; }
#C21 { border: 1pt solid black; }
#C22 { border: 1pt solid black; }
</STYLE>
</HEAD>
<BODY>
<DIV CLASS="page">
 <DIV CLASS="win">
 <TABLE CLASS="tr">
  <TR>
   <TD ID="C11">cell 11</TD>
   <TD ID="C12">cell 12</TD>
  </TR>
 </TABLE>
 <TABLE CLASS="tr">
  <TR>
   <TD ID="C21">cell 21</TD>
   <TD ID="C22">cell 22</TD>
  </TR>
 </TABLE>
 </DIV>
</DIV>
</BODY>
</HTML>
 
0 new messages