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? 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? 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'> 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). 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. 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! Link to comment https://forums.phpfreaks.com/topic/106122-visibility-looks-bad/#findComment-545062 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.