ideasworking
Programmer
Hello,
With the help of some people here I have managed to use CSS to format some tables such that some tables don't print and other tables print with borders that are collapsed. Now as I look at the code it appears that there are some mistakes. Would someone please review the code and help me clean it up if there are problems.
Thanks,
Lou
With the help of some people here I have managed to use CSS to format some tables such that some tables don't print and other tables print with borders that are collapsed. Now as I look at the code it appears that there are some mistakes. Would someone please review the code and help me clean it up if there are problems.
Thanks,
Lou
Code:
<style type="text/css" media="print">
.noprint { display: none; }
.borderprint th,
.borderprint td {
border: 1px solid black;
border-collapse:collapse;
}
table {
border-collapse: collapse;
border: #000000;
}
</style>
<style type="text/css" media="screen">
<!--
.TableText {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
.TableHeaderText { font-family: Arial, Helvetica, sans-serif; font-weight: bold;
font-size: 11px;
}
.SectionText { font-family: Arial, Helvetica, sans-serif; font-weight: bold;
font-size: 14px;
}
-->
</style>
<table width='650' border='0' align='center' cellpadding='1' bgcolor="#000000" class="borderprint td">