Solved

Remove empty Space in Html

Posted on 2008-11-01
4
702 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

627 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