[pmwiki-users] How to suppress text in print view
Randy Brown
randy at brownragfilms.com
Thu Jun 5 11:05:35 CDT 2008
Hans,
I tried a forced reload. I also tried using both Firefox and Safari
(latest versions).
When I use action=print, the line with wikistyle noprint displays. If
I actually print it, the line prints.
I use the standard skin that comes with pmwiki (with a couple of
tweeks, which I've put in skins/custom). I haven't changed print.css.
I have added local.css in pub/css.
I don't know how to tell if local.css is actually getting loaded. I
assume it is, because the HTML page source In my browser shows:
<link rel='stylesheet' type='text/css' href='[the URL to my
local.css]' />
</head>
Randy
On Jun 5, 2008, at 10:07 AM, Hans wrote:
> Thursday, June 5, 2008, 3:56:35 PM, Randy Brown wrote:
>
>> I like your approach, since I don't have to worry about conditional
>> logic. Unfortunately, this didn't work for me. Does local.css need to
>> contain anything other than the three lines you've given?
>
> No. Please check th epage HTML source if local.css is getting loaded.
> It should appear in the head section.
> also try a forced reload of th epage in your browser, usually Ctrl-F5,
> or hold down Shift and click the reload icon. This will reload all
> files from the server, ignoring any cached files the browser got (we
> want the browser to look at all css files new).
>
> The @media print { ... } block may also not work in older browsers.
>
>
> ~Hans
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080605/e7ddec8a/attachment-0001.html
More information about the pmwiki-users
mailing list