Previous Message
Next Message

Nested nested divs and vertical layouts

Sent by Zoe M. Gillenwater on 18 February 2005 17:05


Benjamin Kirkby wrote:

>I want to nest a div that will contain text of different lengths (depending
>on the current page) inside a div that will flow all the way to the bottom
>of the screen (or further if there is a lot of text) and nest that div
>inside a container div that will keep those divs, along with others (like a
>header, main nav and sub nav), in the center of the page. I get the page
>centering part but i am having trouble getting the two nested divs to to
>change height when needed or flow to the bottom of the page. Any thoughts?
>Thanks
>  
>

All I know is that you got a whole lotta divs. :-)  Other than that, 
you've lost me on the structure.  Could you post a link to simple test 
page, or at least include the basic structure in a message to the list, 
referring to divs by name, instead of "that div," etc?  Something like this:

#container
  #one
  #two
     #nest

Or this:

<div id="container">
  <div id="one"></div>
  <div id="two">
    <div id="nest">A lot of text goes here.</div>
  </div>
</div>

Then say, "I want #two to do yadda yadda, but only when #nest contains 
blah blah."  That would help a whole lot. :-)

Thanks,
Zoe

-- 
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: