[Pmwiki-users] Suggestion for change to printable-page.php
John Feezell
johnfeezell
Mon Jul 28 09:04:38 CDT 2003
Hi John,
I appreciate your development of this script. I have use it frequently.
Recently I made a change to $HTMLBodyFmt in my local.php as shown below.
This change was made so that http://lm.3wplace.com/wiki would conform to
the style of a related website http://www.literarymachine.com .
-- my change in my local.php --
$HTMLBodyFmt = '</head><body text="#FFDEB9" bgcolor="#6B7EA6"
link="#FFDEB9" alink="#FFDEB9" vlink="#FFDEB9"><div class="wikibody">';
After this change the text color carried over into your script and made the
resulting screen output look rather "washed-out" and terrible. The
modification below resulted in a more consistent output for both the screen
and the printer.
-- original code in printable-page.php --
$HTMLHeaderFmt .= "<style type = 'text/css'> body { background-color:
#ffffff; }
a:link { color: #444444; font-weight: bold; text-decoration: none;
}
a:visited { color: #444444; font-weight: bold; text-decoration:
none; }
</style>";
-- modified code --
$HTMLHeaderFmt .= "<style type = 'text/css'> body { background-color:
#ffffff; color: #000000}
a:link { color: #444444; font-weight: bold; text-decoration: none;
}
a:visited { color: #444444; font-weight: bold; text-decoration:
none; }
</style>";
What do you think about a permanent addition of color: #000000 in the body
section so that future releases of printable-page.php would include it?
It there another way to set this without modifing printable-page.php?
Thanks.
/JF
More information about the pmwiki-users
mailing list