Can you show me a picture how it looks right now and post the css so I have an idea ?
snide...@gmail.com schrieb am Sonntag, 4. September 2022 um 07:19:42 UTC+7: > Warning: everything I know about BootStrap (BS4) I've learned from the > examples, so I Don't Know Much. > > I have a form with 2 integer fields, one with a label, and the other uses > the input ID for a label. If I use FORM(), the fields come out > appropriately sized for about 6 digits and side by side. If I use > SQLFORM.factory(), the fields come out 100% of a div with class "col-sm-9", > which is huge. I like the look of the FORM() results, but I want > autofocus and other support of the factory form. > > How can I wrestle the latter to look more like the former? I can change > the width of the whole form (_style = "width: 50%"), but that line doesn't > work in the field itself, and the inputs remain as separate divs. The > class defaults to "form-horizontal", so I tried setting it to > "form-vertical", but that didn't work ... I was adding a class, not > replacing a class. > > (And beside,s that raises the question, what are those two classes really > doing?) > > Thanks for any advice, > > Dave S > /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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/90aa6575-605b-47b4-a398-8a6ea206cf0bn%40googlegroups.com.