G
Guest
Hello,
I've written a web page which uses a CSS stylesheet.
Using IE (version 6.0.2800.1106), the page looks OK and uses the stylesheet
to format the page. However, when I print the page, it seems like none of the
CSS is being "used" and the resulting print-out is nothing like it looks on
the screen.
I've added the media="screen, print" clause to the stylesheet link line in
the HTML file.
An example of the CSS file I'm using:
body { background: #FFFFFF; color: #333333; font-family: Verdana, arial;
width: 780px; }
td { font-size: 13px; font-weight: normal; }
h3 { font-size: 18px; color: #000000; font-weight: bold; margin: 0; padding:
0; }
h4 { font-size: 15px; color: #000000; font-weight: bold; margin: 0; padding:
0; }
h5 { font-size: 13px; color: #000000; font-weight: bold; margin: 0; padding:
0; }
An extract of my HTML page:
<table border="1" cellspacing="0" cellpadding="2">
<tr>
<td><h5>Do you have PO / Credit Application?</h5></td>
<td><input type="checkbox" name="C1" value="ON"></td>
</tr>
Thanks for any assistance,
Mark
I've written a web page which uses a CSS stylesheet.
Using IE (version 6.0.2800.1106), the page looks OK and uses the stylesheet
to format the page. However, when I print the page, it seems like none of the
CSS is being "used" and the resulting print-out is nothing like it looks on
the screen.
I've added the media="screen, print" clause to the stylesheet link line in
the HTML file.
An example of the CSS file I'm using:
body { background: #FFFFFF; color: #333333; font-family: Verdana, arial;
width: 780px; }
td { font-size: 13px; font-weight: normal; }
h3 { font-size: 18px; color: #000000; font-weight: bold; margin: 0; padding:
0; }
h4 { font-size: 15px; color: #000000; font-weight: bold; margin: 0; padding:
0; }
h5 { font-size: 13px; color: #000000; font-weight: bold; margin: 0; padding:
0; }
An extract of my HTML page:
<table border="1" cellspacing="0" cellpadding="2">
<tr>
<td><h5>Do you have PO / Credit Application?</h5></td>
<td><input type="checkbox" name="C1" value="ON"></td>
</tr>
Thanks for any assistance,
Mark