Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,960
    Thanks
    120
    Thanked 76 Times in 76 Posts

    auto expandable div within TR

    There to the left is a div with banners

    http://agrozoo.net/jsp/PlantingCalendar.jsp?l2=en

    Code:
     <table>
              <tr>
                <div style ="width:200px;height:300px;overflow: auto;">  
                    banners
    in order to have nice vertical scroll bar I have to have div fixed height, can this be done without that, extending div auto to the bottom of table ?
    That is, the number of rows displayed is not fixed.
    Found a flower or bug and don't know what it is ?
    agrozoo.net galery
    if you don't spot search button at once, there is search form:
    agrozoo.net galery search

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Code:
    <tr>
                <div style ="width:200px;height:300px;overflow: auto;">
    That's an invalid markup. You can't nest a <div> as the immediate child of <tr>
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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