Notices

Great community. Great ideas.

Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: Adjusting the height of div based upon adjacent div

Results 1 to 2 of 2
Share This Thread →
  1. #1
    Pavanlalit is offline Registered User
    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
    gk53's Avatar
    gk53 is offline Contributing User
    Join Date
    Mar 2005
    Location
    Columbus, OH
    Posts
    1,535
    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

Share This Thread →

Become Part of This Conversation

Join NowFor Free!

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

ASP Free Advertisers and Affiliates