947740 Posted May 18, 2008 Share Posted May 18, 2008 I currently have a page that uses hidden <div> tags: As you can see, the first two look very stupid. I do not want white space in between "Contacts Information" and "FMBBS", which are folders. If you look at Hetzel Design Solutions, it is expanded, and does not look stupid. How can I achieve the same effect without all of the white space? Quote Link to comment Share on other sites More sharing options...
jacksonmj Posted May 19, 2008 Share Posted May 19, 2008 How are you hiding the <div>s? Quote Link to comment Share on other sites More sharing options...
947740 Posted May 19, 2008 Author Share Posted May 19, 2008 <div style='visibility: hidden'> Quote Link to comment Share on other sites More sharing options...
KevinM1 Posted May 19, 2008 Share Posted May 19, 2008 If you're using 'visibility: hidden' try switching it to 'display: none' (or vice-versa). Quote Link to comment Share on other sites More sharing options...
947740 Posted May 19, 2008 Author Share Posted May 19, 2008 Is that valid? In CSS properties, it only lists visible, hidden, and collapse. Quote Link to comment Share on other sites More sharing options...
947740 Posted May 19, 2008 Author Share Posted May 19, 2008 EDIT: THANK YOU! It worked, obviously. When I asked if it was valid, I did not realize you used display and not visibility. Thanks again! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.