Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
03-02-2009, 11:39 AM #1
Expanding backgrounds/boxes, min-height help
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.
Last edited by kyllle; 03-02-2009 at 11:45 AM.
03-02-2009, 12:26 PM #2
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
- Join Date
- Mar 2007
- Thanked 2,214 Times in 2,201 Posts
- Blog Entries
Users who have thanked abduraooft for this post:
03-02-2009, 12:50 PM #3
Excellent, what a great method!!!