Did you force the CSS to be reloaded by the browser? If so, is it possible
you have a similar CSS rule somewhere else?
On Tuesday, January 27, 2015 at 3:13:24 PM UTC-5, Vladimir Makarov wrote:
>
> no way!
> I excluded* a:after { content: " (" attr(href) ")"; **}* but nothing
> happened.
>
>
> On Tuesday, January 27, 2015 at 11:05:25 PM UTC+3, Anthony wrote:
>>
>> If you don't want the href printed, wouldn't you want to get rid of this
>> line:
>>
>> a:after { content: " (" attr(href) ")"; }
>>
>> Anthony
>>
>> On Tuesday, January 27, 2015 at 2:54:05 PM UTC-5, Vladimir Makarov wrote:
>>>
>>> Hey!
>>>
>>> So I have this piece of code in my view file:
>>> *<a href="{{=URL('kkm', 'kkm', vars={'kkm':row.id <http://row.id>,
>>> 'client':curClient.id, 'contract':curContract.id})}}">{{=row.model}}</a>*
>>>
>>> There is nothing special or magical but if I try to print the page ...
>>> ooopppss ...I see this result:
>>> *Some_model (/gemma/kkm/kkm? client=156&contract=596&kkm=107)* instead
>>> of *Some_model*
>>>
>>> Say how can I get rid of link parameters in view when I click to print
>>> page?
>>>
>>> PS
>>> This is piece of my css file but itsn't work for me:
>>> @media print {
>>> * { background: transparent !important; color: #444 !important;
>>> text-shadow: none !important; }
>>> a, a:visited { color: #444 !important; text-decoration: none; }
>>> a:after { content: " (" attr(href) ")"; }
>>> @page { margin: 0.5cm; }
>>> }
>>>
>>> Any ideas?!?
>>>
>>
--
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/d/optout.