Solved

Remove empty Space in Html

Posted on 2008-11-01
4
700 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hide cell in a table 2 27
Can't get second accordion on page to work 2 13
send email part1 9 28
Wordpress Hacked 1 47
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

828 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