This is a discussion on "[SOLVED] multiple columns, text floats out of area... Best solution?" within the Web Page Design section. This forum, and the thread "[SOLVED] multiple columns, text floats out of area... Best solution? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] multiple columns, text floats out of area... Best solution?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] multiple columns, text floats out of area... Best solution?
This is probably very simple but I'm trying to figure the best way to achieve having mulitple columns in a box that automatically expand to the allow for the text in the left and right collumns, they are currently overflowing from the content into the footer.
Basically, the "content_left" & "content_right" text are supposed to be in the brown box with the content text. Do I need to use clearing somewhere? Is using floats the best way for this? If so, what would happen if I wanted to add more columns? Any help or advice would be greatly appreciated... Here's my HTML:
|
|
|
|
#2
|
|||
|
|||
|
Re: multiple columns, text floats out of area... Best solution?
If you add overflow:auto; to your #content in your css
That should allow your brown box to expand as you add your text. Cheers Pat |
|
#3
|
|||
|
|||
|
Re: multiple columns, text floats out of area... Best solution?
Pat, you are a true genious!
|
|
#4
|
|||
|
|||
|
Re: multiple columns, text floats out of area... Best solution?
Whoops, I just realised that it works fine until tested on evil ie6. Any suggestions how to get around it?
|
|
#5
|
|||
|
|||
|
Re: multiple columns, text floats out of area... Best solution?
Try adding height:1% in your #content.
There is a name for this fix but I cant remember the name. Pat |
|
#6
|
||||
|
||||
|
Re: multiple columns, text floats out of area... Best solution?
^were you thinking of hasLayout?
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
#7
|
|||
|
|||
|
Re: multiple columns, text floats out of area... Best solution?
Thank you Aso.
|
|
#8
|
|||
|
|||
|
Re: multiple columns, text floats out of area... Best solution?
Fantastic! It worked perfectly.
I owe you one |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Displaying multiple columns in a combo box | 1840dsgn | Web Page Design | 1 | Jan 7th, 2008 04:56 |
| text area | geyids | Flash & Multimedia Forum | 4 | May 31st, 2007 12:25 |
| Updating web content from text file...or other solution? | dank | Web Page Design | 4 | Mar 16th, 2006 23:25 |
| 2 columns of text either side of Flash | timmytots | Web Page Design | 11 | Nov 29th, 2005 01:18 |
| Two columns of text next to images | csa | Web Page Design | 6 | Nov 27th, 2005 17:21 |