Question Details    

   Question

Time: 00:31 - Apr 20, 2007     Asked by: multani.sarbjit      Status: Answered      Points: 125   

How to position dynamic floating column?

Dear All,


in my recent project i need to display dynamic data..(coming from data base).

div containing these data suppose to come in multiple column if enough width is available..(because UI is of liquid width).

i have assigned float: left do divs needed to come into multiple columns.

and its working fine..but only if blocks in a row r of same height.

suppost float:left creates two columns.
then 1st and 2nd div'll come in a row and 3rd row'll start from next row.

in this case if height of 1st and 2nd div is different then next row will start where height of 1st and 2nd div will end. in this case 2nd row will take extra padding or spacing from top which is not required.

in short i want to create multiple column data presentation which is not needed to come in multiple rows.

i just want equal spacing div to div vertical or horizontal.

to make it in more contrast.

suppose 1st div's height is 100px, 2nd div's height is 70px,

then 3rd div will go under 2nd div(2nd column).

height of 3rd div is 100px.

4th div will com under 1st div(1st column) but its row will start where height of 3rd div will end. so 4th div will have extra spacing of 70px on top with 1st div.

..i think its enough to describe my problem..

it is very critical situation and help is needed in urgent.

thanks in advance.

 
  • Ask a New Question
  • Become a Quomon Expert
  • Current Categories

     

    Other Questions Needing Answers


       
     

    Answer Discussion

    Answer Discussion

    Answer Summaries

    Answer Summary

     
     

    Question & Answer System for Websites and Corporate Intranets

  • Save your corporation money by having common business problems solved once
  • Drive a significant amount of new traffic to your website, products, and services
  • Advertisement

    Is there a reason you can't use tables?
    Tables were originally designed for displaying data, and were then "improperly" used as layout for many years. Now there is a new Tableless Layout trend that sometimes gets taken too far and tables are deemed unusable for any reason.

    Without seeing code examples, it looks like you need to work on clearing some of your floats, and playing with margins to get all the math to work out. Or simply making everything the same height.
    Usually simplifying the layout will fix many problems.

    Expert:

    danmacryan

    Date:

    May 04, 2007

    Time:

    10:15

     

    Votes: Good (0) | Bad (0)
    Login to rate this answer

    multani.sarbjit, please close this question and distribute the points.
    If you didn't get a solution to your problem or you found it yourself, please leave a comment here to let the experts know.
    Thanks,
    Quomon Admin

    Expert:

    admin

    Date:

    Jun 25, 2007

    Time:

    06:16

     

    Votes: Good (0) | Bad (0)
    Login to rate this answer

    CA Anti-Virus 2008 - Fortify your PC with early, automatic defense against the latest viruses!

    Question Answered

    This question has been answered, and points have been rewarded to the following experts:

    danmacryan: 125

    You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.

    No summaries have been submitted yet. Want to be the first?



    Respond to this question:

    New User

      Email:

    Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

    Registered User

    Username:

    Password:


    Forgotten Password

    Enter your email address below and we will resend your login information to you.

    Email:


     


     

    New User

      Email:

    Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

    Registered User

    Username:

    Password:


    Forgotten Password

    Enter your email address below and we will resend your login information to you.

    Email:


     

       

    "Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


    All Questions


    Language Options

    English:

    www.quomon.com

    Español:

    www.quomon.es

    Quomon Blog

    blog.quomon.com

    Sponsors

    Questions and Answers Software
    Real Estate Postcards
    Marketing Fulfillment