@media print {
a[href]:after {
content:"";
}
}
The above code should hide all the links within anchor tags in the printed
page. Please put the rule at the bottom of your custom css file or wrap it
in a <style> tag just before </head> in layout.html
Il giorno venerdì 4 ottobre 2013 22:25:49 UTC+2, Dave S ha scritto:
>
> On Wednesday, September 25, 2013 12:51:35 PM UTC-7, Dave S wrote:
>>
>> Is there an example of setting up print-friendly CSS for a page that uses
>> SQLTABLE? If not, suggestions as to which file
>> (...project/static/css/web2py.css, web2py_bootstrap.css, ...) I should
>> start in to roll my own?
>>
>> If in Opera 12.16 on Fedora 16, trying to print a selection area inside
>> the table does it neatly ... except for no line breaks. Print the whole
>> page gives a lot of cruft (like the links). This also happens on Opera
>> 12.16 on Windows 7 also has these issues.
>>
>> Firefox (18 on F16, 24 on W7) and Chrome 29.0.1547.76 m on W7 don't seem
>> to have these issues, but I've been using Opera for my AppAdmin activities,
>> and I thought I could help it a bit with some CSS magic.
>>
>>
>
> FF 18 on F16 isn't free of issues: running the admin database tool,
> printing the results of the query will include the links behind the ID
> column.
>
> Any suggestions where to start to set up a print-friendly css?
>
> /dps
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.