<a href="{{=URL('documentation',args=if_any)}}"><img src="{{=URL('static','images/your_picture.png')}}" class="you_can_style_it"></a>
On Wednesday, August 24, 2016 at 3:01:57 PM UTC-4, Alex Glaros wrote: > > How to use web2py redirects to enclose an item? > > For example I want this effect: > > <a href = "documentation.html"> > <span style="font-size:300%; color:LightBlue" class="glyphicon > glyphicon-question-sign" aria-hidden="true" aria-label="image of question > mark"></span></span> > </a> > > but instead of <a href> I want to use web2py redirect {{=A like this below > > {{=A('', _href=URL('default','documentation'))}} > <span style="font-size:300%; color:LightBlue" class="glyphicon > glyphicon-question-sign" aria-hidden="true" aria-label="image of question > mark"></span></span> > {{}} > > thanks > > Alex Glaros > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.