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 https://forums.phpfreaks.com/topic/106122-visibility-looks-bad/ 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 https://forums.phpfreaks.com/topic/106122-visibility-looks-bad/#findComment-545022 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 https://forums.phpfreaks.com/topic/106122-visibility-looks-bad/#findComment-545049 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 https://forums.phpfreaks.com/topic/106122-visibility-looks-bad/#findComment-545050 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 https://forums.phpfreaks.com/topic/106122-visibility-looks-bad/#findComment-545055 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 https://forums.phpfreaks.com/topic/106122-visibility-looks-bad/#findComment-545062 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.