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 3 of 3
  1. #1
    Regular Coder kyllle's Avatar
    Join Date
    Mar 2008
    Posts
    334
    Thanks
    85
    Thanked 2 Times in 2 Posts

    Expanding backgrounds/boxes, min-height help

    Hi all,

    I have floated 2 columns that i want to show information in, Iv created the following page http://www.glen-lodge.co.uk/testing/boxes.html basically i want the 2 coloured columns to display at the same height but when new information is added to a column they both expand in size to hold the info and remain equal in length? Iv tried using min-height and height but these wont help the information being held? Any ideas what i can do?

    Also another problem I have is, I want all the information to be in the center of each of the columns but I want the text to be left aligned, Iv tried using the text-align: center but obviously this does center everything in the column but Im not sure how to reset the text to left aligned whilst keeping them placed in the center of the column?

    Oh the coding is very rough at present as Im just trying this technique out.

    Regards

    Kyle
    Last edited by kyllle; 03-02-2009 at 11:45 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Faux Column, the effective solution to your issue!
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    kyllle (03-02-2009)

  • #3
    Regular Coder kyllle's Avatar
    Join Date
    Mar 2008
    Posts
    334
    Thanks
    85
    Thanked 2 Times in 2 Posts
    Excellent, what a great method!!!


  •  

    Posting Permissions

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