Hi,
I'm learning web2py and just messing around...
I have a static file: css/style.css
It contains: h1 {color: red;}
When I make a simple view with an h1 block, my stylesheet gets applied if I
put:
{{=LINK(_rel="stylesheet", _type="text/css", _href=URL('static',
'css/style.css'))}} in my <head>, but not if I put:
{{=STYLE(_src=URL('static', 'css/style.css'))}} which is similar to the
example given for the STYLE helper in chapter 5 of the web2py manual.
What am I missing?
Thanks,
Scruffy
--
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.