Hi,
I tried creating a table with border radius but its not working in web2py
however when i tried outside of web2py the border radius is working.
added the below css to web2py.css
.p_t1{
width:100%;
border:10px solid;
border-color:#02046E ;
-moz-border-radius:15px;
-webkit-border-radius:15px;
-khtml-border-radius: 15px;
border-radius:15px;
}
View:
{{extend 'layout.html'}}
<table class="p_t1">
<tr>
<td>test1</td>
<td>test2</td>
</tr>
<tr>
<td>test1</td>
<td>test2</td>
</tr>
<tr>
<td>test1</td>
<td>test2</td>
</tr>
</table>
The above did not work. Tried adding it as inline style as well but it did
not work.
However outside web2py it works.
<head>
<link rel="stylesheet" type="text/css" href="test.css">
</head>
<table class="p_t1">
<tr>
<td>test1</td>
<td>test2</td>
</tr>
<tr>
<td>test1</td>
<td>test2</td>
</tr>
<tr>
<td>test1</td>
<td>test2</td>
</tr>
</table>
--
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.