Solved

Trying to make CSS div/layer invisible

Posted on 2007-11-27
3
1,828 Views
Last Modified: 2013-11-19
I have a section of my page that I don't want to be visible or seen in any way (it needs to be there because it has some code that a dhtml feature I'm using depends on).  I added the code in a div and added CSS to set the layer to visibility: hidden;  

It works from the standpoint that nothing displays in the browser window, but it still creates white space and affects the layout of my page.  What am I missing to make this truly invisible?  The URL in question is http://www.campspofford.org/tour/index.php.

Any tips?

Thanks!
0
Comment
Question by:benjaminfam
3 Comments
 
LVL 30

Accepted Solution

by:
VirusMinus earned 500 total points
ID: 20363255
use  display:none instead of visibility
0
 
LVL 19

Expert Comment

by:SteveH_UK
ID: 20363712
agreed
0
 

Author Closing Comment

by:benjaminfam
ID: 31411350
Thanks a bunch.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question