you guessed correctly, Massimo, it was "body".
How is float and width typed in? Below float/width do not work.
<style>
body { background: url({{=URL('static',
'images/bulb.png',)}});background-repeat: no-repeat;float:right;
width:10px; height:10px}
</style>
thanks,
Alex
On Wednesday, September 18, 2013 6:20:32 AM UTC-7, Massimo Di Pierro wrote:
>
> Wich background?
>
> <style>
> body { background: url({{=URL(....)}});}
> </style>
>
> On Wednesday, 18 September 2013 03:45:02 UTC-5, Alex Glaros wrote:
>>
>> What is snytax for background image?
>>
>> this example works for foreground:
>>
>> {{=IMG(_src=URL('static', 'images/bulb.png'))}}
>>
>> what is syntax for the same image, for background?
>>
>> please let me know if it needs to be surrounded by <div> or <style> or
>> any tags
>>
>> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.