Hello,

The form I designed is not shown as I'd like it to be.
I am using the web2py design (web2py.css, web2py_bootstrap.css, 
bootstrap_min.css,...).

I'd like the elements of a row to be entirely seen on screen, without 
adding scrollbars which are automatically added by the web2py css design.

The following code, once copied in a file, shows what I want.

> <style type="text/css">
>
> table  {  font-size: 12px; max-width:80%}
>
> td {font-weight:bold;vertical-align:top;}
>
> fieldset {width:25%; border: groove}
>
> </style>
>
>
>> <form action="#" enctype="multipart/form-data" method="post">
>
> <table id="t1">
>
> <tr>
>
> <td><fieldset>This is a test for Field 1:  <input name="f1" type="text" 
>> /></fieldset></td>
>
> <td><fieldset>This is a test for Field 2:  <input name="f2" type="text" 
>> /></fieldset></td>
>
> <td><fieldset>This is a test for Field 3:  <input name="f3" type="text" 
>> /></fieldset></td>
>
> <td><fieldset>This is a test for Field 4:  <input name="f4" type="text" 
>> /></fieldset></td>
>
> <td><fieldset>This is a test for Field 3:  <input name="f5" type="text" 
>> /></fieldset></td>
>
> </tr>
>
> <tr>Other rows withdrawn for simplicity

  </tr>

> </table>
>
> </form>
>
>
Using this style (added in my view which extends layout.html) gives no 
results.

So I tried to modify layout.html by adding the style (line 60).
This results in fonts and borders being correctly taken into account but 
not the width parameter which is precisely what I'd like to change (I don't 
want any scrollbars).

Can anybody explain to me which line of which web2py css file I need to 
modify and how ?
Additionally, why changing the css directly in the view is not taken into 
account ?

Thanks you so much in advance for your help

Dom

-- 
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/groups/opt_out.

Reply via email to