T
Trevor L.
Trevor said:Yes, that did the job.
Actually I thought of that overnight.
Who says going to sleep on a problem does no good
Howver, I now have anther problem
I have this code
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" media="print"
href="print.css"> <style type="text/css">
body {background: lightblue url("")}
</style>
</head>
<body>
<span id="newstext"></span>
<input type="button" value="Print" class="hidden"
onClick="print()">
The function writenews() writes some text into the span
The styleprint.css is
body {background: white }
.hidden {visibility: hidden ;}
When I print I get a grey background
I tried changing print.css to
body {background: white url('')}
and
body {background-color: white }
and neither worked
I posted this on microsoft.public.scripting.jscript, which wasn't really the
right place
Can anyone help with this problem, or suggest a better newsgroup
TIA,
Trevor L.
Website: http://tandcl.homemail.com.au