Forum OpenACS Development: ad_form & css

Collapse
Posted by Malte Sussdorff on
I was wondering whether it would make sense to provide specific CSS classes to ad_form elements, so you could e.g change the layout of the radio buttons from top down to right left. And would this even work? Is it desirable?

Also an ordering of elements would be good (in Arab we would read from right to left, whereas I think Mandarin would be bottom to top). How should this be achieved. I'd envision to ad some code in the form generation that would do the ordering depending on the locale setting. Additionally this holds true for tables as well (listbuilder would need to have a different sorting of elements / content, preferably in listbuilder itself and not in each single call to template::list). Comments, ideas ?

Collapse
2: Re: ad_form & css (response to 1)
Posted by xx xx on
I think it's better to have this at a page level. With a custom CSS set in .tcl one can override part or all of the standard CSS, defining elements in listbuilder or ad_form.