Results 1 to 2 of 2

Thread: span or div - remove space when hidden

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    32

    span or div - remove space when hidden

    Long Version:

    I'm having a spacing problem. I have a table with all of my controls in it. At the bottom of the table I have a add button. When someone clicks on this button I want the span or div tag to become visible so that they can add information to a text box and submit their information. My problem is when the span or div is hidden the space where they are hidden is still visible. I don't want there to be extra space on the bottom of the table.


    Short Version:
    My problem is when the span or div is hidden the space where they are hidden is still visible (on the bottom of my bordered table). I don't want there to be extra space on the bottom of the table when the span is hidden. How can I resolve this?

    Thanks!
    Jimmy

  2. #2
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196

    Re: span or div - remove space when hidden

    how about setting the style display:none;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width