rw1
Moderator
hello,
a while back i suggested a very hacky css hack to make form pages a consistent height across pages of a form ie when navigating between pages the buttons would stay in the same location as the height of each page stayed the same.
the default behaviour, without any hacks, is that the form height will change depending on the amount or total height of elements in the form.
for my implementation i am opening the form module in a pop up window and so having a fluctuating form height doesn't look that great.
the hack was working ok but after being away from fabrik for a while, i am getting different results in browsers and overall the css seems 'broken'.
so my goal is to now create a form that somehow has standardised heights across pages in a less hacky way.
i think the general tech spec for this is creating a css container that consists of:
- form title
- form elements
- form buttons
where:
- the form title area is 'pinned' to the top of the form container,
- the form buttons area is 'pinned' to the bottom
- and the container has a fixed height.
i am not a css guru so i am just writing this post in case any css wizards could knock something up quickly.
but i also wrote this post so i could clarify for myself what the issue and solution was so will get to work on this now and post back if i come up with a solution.
edit: i'm going to try and modify the 'default_rounded' form.
a while back i suggested a very hacky css hack to make form pages a consistent height across pages of a form ie when navigating between pages the buttons would stay in the same location as the height of each page stayed the same.
the default behaviour, without any hacks, is that the form height will change depending on the amount or total height of elements in the form.
for my implementation i am opening the form module in a pop up window and so having a fluctuating form height doesn't look that great.
the hack was working ok but after being away from fabrik for a while, i am getting different results in browsers and overall the css seems 'broken'.
so my goal is to now create a form that somehow has standardised heights across pages in a less hacky way.
i think the general tech spec for this is creating a css container that consists of:
- form title
- form elements
- form buttons
where:
- the form title area is 'pinned' to the top of the form container,
- the form buttons area is 'pinned' to the bottom
- and the container has a fixed height.
i am not a css guru so i am just writing this post in case any css wizards could knock something up quickly.
but i also wrote this post so i could clarify for myself what the issue and solution was so will get to work on this now and post back if i come up with a solution.
edit: i'm going to try and modify the 'default_rounded' form.