Help.....div style and visibility

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,102
Messages
2,570,645
Members
47,245
Latest member
ShannonEat

Latest Threads

Top