This is a discussion on "more box model problems" within the Web Page Design section. This forum, and the thread "more box model problems are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
more box model problems
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
more box model problems
hey guys
i have a container layer which has align=right. it has two layers inside, one floated to the left colum and one sits (which aligns to the right). when there's not enough content in the right (main) layer but still lots in the left column, the container is only the height of the main right aligned layer and the content for the left layer stretches down past the bottom. can anyone point me in the right direction for sorting it out? |
|
|
|
||||
|
Re: more box model problems
You'll need to use a technique known as faux columns.
This repeats an image vertically down the main container which gives the appearance of 'same-height' columns.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
||||
|
Re: more box model problems
You will also need a clearing div if you are using floats, this will clear the floats and keep the container bottom below the floated columns regardless of height of the float.
Something like:
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: more box model problems
cool, i think i understand - thanks!
whilst im here, i seem to be having difficulty adding more than one set of floated items in a nest. i have a container layer, with a left colum floated to the left with my links, and a right column floated to the right with the main content. when i try to float content in the right layer to the left (for example, a tableless form) it wont appear in the right content layer until after the left navigation layer content is finished. how do i get around that? |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| box model problem | artisites | Web Page Design | 8 | Apr 3rd, 2008 20:15 |
| Box Model Hack? | jwalker80 | Web Page Design | 4 | Feb 2nd, 2007 02:10 |
| Fluid box - without box model | satoshy | Web Page Design | 5 | Aug 3rd, 2005 03:24 |