Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 708
  • Last Modified:

Remove empty Space in Html

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
DevIndian
Asked:
DevIndian
2 Solutions
 
jazzIIIloveCommented:
Hi there;

html compressor is you are searching for?

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

best regards...
0
 
Roger BaklundCommented:
Set the CSS 'display' property to 'none' to hide items, do not set 'visibility' to 'hidden'.
0
 
EliotBallCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now