Hello!
In web2py 2.10.4, a new catalog of static / fonts
It has Ouverture script.ttf
I tried this:
<style>
    @font-face{ 
      font-family: "Ouverture script"; 
      src: url("{{=URL('static','fonts/Ouverture script.ttf')}}");
    } 
    
    .p1 { 
       margin: 200px;
       font-family: "Ouverture script"; 
       font-size: 40pt; 
     } 
</style>

<body>
   <p class="p1">Текст</p>
</body>

It does not work.
What am I doing wrong?

-- 
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.

Reply via email to