|
-
Oct 22nd, 2004, 12:55 PM
#1
Thread Starter
Frenzied Member
"expand" area to show hidden object
I have a div that is hidden until someone checks a checkbox. The problem is, it leaves a big white space while that div is hidden. How do I make it so that the content under the hidden box fits neatly under the content that is showing, and then after they check the box, everything shifts to make room for the hidden div??
I have no idea where to start with this, but I've seen something similar when downloading the latest Acrobat Reader.
-
Oct 22nd, 2004, 05:59 PM
#2
Frenzied Member
instead of:
visibility: hidden
and:
visibility: visible
use:
display: none
and (not sure on this one):
display: inline
It might not be inline, it could be normal or block too. just test and see what it is.
Have I helped you? Please Rate my posts. 
-
Oct 23rd, 2004, 08:13 AM
#3
Frenzied Member
Div is generally a block element, so you might want to set it display: block;
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Oct 23rd, 2004, 09:40 AM
#4
Frenzied Member
Have I helped you? Please Rate my posts. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|