E
E-Star
I'm trying to make a dynamic form.
I made a form with a SELECT list and depending on what is selected
there, I want a different form to be shown.
This all works except for a minor detail. The non-showing divs take up
space.
I want the divs to be position:relative. I tried 2 different way to
make them visible and hidden. One is to use 'display:none' and the
second way is to use 'height=0px' and 'overflow:hidden'.
Like I said...this almost works except for a little space it take up
for the non-visible divs. It does not take up the entire space as when
I set visibility:hidden......just a little.
Any suggestions what's taking up space?
I made a form with a SELECT list and depending on what is selected
there, I want a different form to be shown.
This all works except for a minor detail. The non-showing divs take up
space.
I want the divs to be position:relative. I tried 2 different way to
make them visible and hidden. One is to use 'display:none' and the
second way is to use 'height=0px' and 'overflow:hidden'.
Like I said...this almost works except for a little space it take up
for the non-visible divs. It does not take up the entire space as when
I set visibility:hidden......just a little.
Any suggestions what's taking up space?