On Friday, March 18, 2016 at 8:08:38 AM UTC-7, Imre wrote:
>
> Hi,
> please help. I use SQLTABLE in view and I want see border. I try 
> table, th, td {border: 1px solid black}
> in web2py.css but it is not work.
>
>
You may need to make the change to a Web2Py class.

For instance, my SQLFORM uses even/odd coloring,
and the rows are
<tr class="w2p_even even"><td>[...]</td></tr> 
<tr class="w2p_odd odd"><td>[...]</td></tr>

On the other hand, my view file does have a style block (in the body!) that 
looks like

<style>
    *.odd  {background-color: #E5EECC}  /* light desert-y green */
    *.odd  {background-color: #ddffcc}  /* light green-bar      */
    *.odd  {background-color: #d0d0f0}  /* light blue grey      */
</style>

but that is read after web2py.css and web2py_bootstrap.css, so it does have 
a chance to override the includes.

/dps

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