Skip navigation
Currently Being Moderated

Using Auto Adjustable Fluid Grid Layout Divs to balance two columns

Sep 18, 2012 8:43 PM

Tags: #grid #column #fluid #balancing

I have a header band, two columns and then a footer band in the layout that I'm working on.I have Div on each side that is set to "Auto" for height so that the two column lengths appear to be the same size when they get to the footer band. That is how I envisioned it, in practice, "Auto" only seems to adjust to the text inside the respective divs.

Something that"hould" be soesy has gotten me banging my head for four days. I thught I had a solution, using "nesting tags" but saw that was not supported.

 

Any ideas?

 
Replies
  • Sudarshan Thiagarajan
    3,729 posts
    Oct 15, 2010
    Currently Being Moderated
    Sep 18, 2012 9:39 PM   in reply to Dad Keaney

    Can you post a link to your site and your code?

     
    |
    Mark as:
  • Sudarshan Thiagarajan
    3,729 posts
    Oct 15, 2010
    Currently Being Moderated
    Sep 18, 2012 11:40 PM   in reply to Dad Keaney

    You have float and clear functions almost in every DIV on your leftcolumn and copy. You also have these tags applied to every element within these 2 divs which is redundant.

     

    Set your width and float for parent containers, not for all elements, unless you want specific float override for these within parent elements.

     

    Your body tag is formatted to float right in your boilerplate.css file. Boilerplate is only a standard HTML5 template which you wouldn't want to mess with unless you know what you're doing.

     

    Do not use boilerplate and reset.css files to add custom styles. Create your custom styles in styles.css or custom.css and append that CSS to your HTML file.

     

    Change the order of CSS loading in your HTML to load your custom CSS file as an override. This means, basic styling will be taken from boilerplate.css template. If you have the same tag in your custom css file, the browser will override styles from boilerplate and load your custom CSS file for those elements.

     
    |
    Mark as:
  • Sudarshan Thiagarajan
    3,729 posts
    Oct 15, 2010
    Currently Being Moderated
    Sep 19, 2012 10:52 PM   in reply to Dad Keaney

    Top down. But like I said, you should correct the fundamental redundant lines of code in your document.

     
    |
    Mark as:
  • Sudarshan Thiagarajan
    3,729 posts
    Oct 15, 2010
    Currently Being Moderated
    Sep 20, 2012 8:02 AM   in reply to Dad Keaney
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points