38 users online (0 members and 38 guests)  


  Results 1 to 5 of 5

Related

  1. Replies: 1
  2. Replies: 0
  3. IE putting extra breaks in layout    Forum: CSS Forum
    Replies: 3
  1. #1
    aaryan's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2008
    Location
    India
    Posts
    3

    Extra space in dynamic table

    Hi,

    I have a table(1 cell per row) whose cells r itself tables.The first table is static but other tables on the cells are added dynamically on clicking a button.
    The problem is that when i select from the dropdown in first row table,the alignment of the table columns in the cell below it got deterioted. i.e. the width of the cells got increased..disturbing the alignment.
    When i used table -layout =fixed in the parent table..the scrollbar of div which contains the parent table,got disappeared and I am not able to scroll for the cells beyond the screen.


    Any hellp much appreciated..
    Aaryan

  2. #2
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Extra space in dynamic table

    Please provide a link to the page in question, or if none, show us the involved code and markup.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  3. #3
    aaryan's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2008
    Location
    India
    Posts
    3

    Re: Extra space in dynamic table

    the web page is on client machine..so i can't send u the link..neither code can be taken from there..
    is there any other way u want me to explain this..

  4. #4
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: Extra space in dynamic table

    sounds like you need to set the width of the cells individually. You only have to do this once for each column. You can set it either in CSS or in the HTML markup.

  5. #5
    aaryan's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2008
    Location
    India
    Posts
    3

    Re: Extra space in dynamic table

    I had set the width also for each cell..but it doesn't work...
    The extra space proble is getting solved when i am fixing table layout..but as told previously,it makes my div's horizontal scroll disappears..(also i am using overflow:auto property of div)
    Can i do table layout:fixed and as well as get both scroll in div?



Tags for this Thread