Solved

Remove empty Space in Html

Posted on 2008-11-01
4
695 Views
Last Modified: 2013-11-19
Hello,

I'm trying to make invisible some of the controls on ASPX pages when user checks something, but I cannot remove the space , where the control becomes invisible.

Thanks
0
Comment
Question by:DevIndian
4 Comments
 
LVL 12

Expert Comment

by:jazzIIIlove
ID: 22859536
Hi there;

html compressor is you are searching for?

http://www.serpik.net/ahc/ahc.zip

best regards...
0
 
LVL 39

Accepted Solution

by:
Roger Baklund earned 250 total points
ID: 22859537
Set the CSS 'display' property to 'none' to hide items, do not set 'visibility' to 'hidden'.
0
 
LVL 2

Assisted Solution

by:EliotBall
EliotBall earned 250 total points
ID: 23059251
That's right:

Use either:

display: none;

or

visibility: hidden;
width: 0;
height: 0;

or

position: absolute;
left: -1000px;

Any would work. display: none; is obviously the most elegant solution.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Send Mail Via SMTP Replacement/Rework 11 61
Problem to page 4 75
AngularJS Page Control Understanding 5 40
help squeezing some space out in this site 9 20
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

23 Experts available now in Live!

Get 1:1 Help Now