#1
  1. No Profile Picture
    Registered User
    ASP Explorer (0 - 99 posts)

    Join Date
    Oct 2012
    Posts
    14
    Rep Power
    0

    Cool Adjusting the height of div based upon adjacent div


    Hi all,
    I am displaying the div's side by side with data. What happens was all div's have different amount of data , so when we display them in page,they all will be displayed improperly based upon the height we specify in style sheet. Also if I specify auto as the height value, the div that possess no data will be very awkward to see. So I need a way to adjust the div height based upon the adjacent div or any other div.
    To be precise, Is there any way that we can specify the height of a div in relative to the height of another in a Form?

    Thanks,
    Pavan
  2. #2
  3. Contributing User
    ASP Skiller (1500 - 1999 posts)

    Join Date
    Mar 2005
    Location
    Columbus, OH
    Posts
    1,587
    Rep Power
    278
    I think it is simpler to put your div's inside table in this case you will have div side by side in the same tr and they will be aligned...
    GK
    __________________________________________________ _____
    if you found this post is useful click Give Rep button (bottom side on this reply ) and agree

Similar Threads

  1. Replies: 1
    Last Post: May 7th, 2008, 10:18 AM
  2. 3D Block Model, query for adjacent records(blocks)?
    By Jimbo Jones in forum Microsoft Access Help
    Replies: 0
    Last Post: May 23rd, 2006, 03:33 AM
  3. Adjusting the font n size
    By alfidino in forum ASP Development
    Replies: 4
    Last Post: February 15th, 2006, 04:06 AM
  4. Adjacent Images/Form
    By IcarusBicarus in forum HTML, JavaScript And CSS Help
    Replies: 24
    Last Post: February 15th, 2005, 04:58 AM
  5. displaying lists adjacent to one another
    By TommyTank in forum HTML, JavaScript And CSS Help
    Replies: 1
    Last Post: January 28th, 2005, 04:33 AM

IMN logo majestic logo threadwatch logo seochat tools logo