So you have to silent bootstrap.css and put your style in your own css file, app.css for instance. You don't want to put you own css hack in base.css, because you have to update this file sometime when you upgrade web2py. To silent bootstrap you have to redefine the boostrap style that matter or just override it it depends of the situation.
You can combine class and id in your css selector to make sure you select the exact item you want and only this one to not break you app somewhere else. Setting style attribute help to go fast, but it's not consider a good practice and you may sometime forget that you set style attribute in you view and search for hours why the them tag won't style the way to tell him in you css file. :) Richard On Tue, Nov 12, 2013 at 4:17 PM, greenpoise <[email protected]> wrote: > bootstrap.min.css > > if I add it there it works. > > > On Tuesday, November 12, 2013 1:05:11 PM UTC-8, Richard wrote: > >> You may have other css rules that override yours... Try to set a style >> attribute to your input to see what happen, if it works it because there is >> other css rules that override your... Try to find it, you can use Chrome >> dev tool, right click on the html thing and select inspect item in the >> menu, you will see all the styles that apply to your input... >> >> Rember, the css rule closest to the html tag has priority over all >> other... >> >> Richard >> >> >> On Tue, Nov 12, 2013 at 3:35 PM, greenpoise <[email protected]> wrote: >> >>> I keep reading to do it from base.css but it is not working. >>> >>> >>> My source >>> >>> <div> >>> >>> </div></td><td><br><input class="string" id="productsearch_qty" name= >>> "qty" type="text" value="" /></td> >>> >>> >>> On base.css I have >>> >>> #productsearch_qty {width: 3px;} >>> >>> >>> -- >>> 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. >>> >> >> -- > 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. > -- 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.

