Solved

Trying to make CSS div/layer invisible

Posted on 2007-11-27
3
1,820 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn how to count occurrences of each item in an array.

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now