# Div order?

**URL:** <https://forum.kirupa.com/t/div-order/246706>\
**Category:** Uncategorized\
**Created:** [December 13, 2007, 5:17pm UTC](https://forum.kirupa.com/t/div-order/246706 "2007-12-13T17:17:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navarone](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Post date:** [December 13, 2007, 5:17pm UTC](https://forum.kirupa.com/t/div-order/246706/1 "2007-12-13T17:17:47Z")

</div>

I have a development site [http://dev-mactrailer-v2.virtualhorizons.com/aboutus.aspx](http://dev-mactrailer-v2.virtualhorizons.com/aboutus.aspx)

My problem is I need my footer which contains some banners to move in relation to my text. If the text gets short or longer I need the footer to move with it. I am pretty sure my div order is ok, but it’s not working. I have a div\_main which is the page container, all my other div elements are inside this.

```auto

<div class="div_main">
 <div class="main_bg"></div>
 <div id="div_header_logo"></div>
 <div class="div_header_menu"></div>
 <div id="div_header_menu_framework_1"></div>
 <div class="div_body">
  <div class="sub_header_bg"></div>
     <div class="sub_header"></div>
     <div class="sub_images"></div>
     <div class="text_container">
         <div class="text_header"></div>
         <div class="text_smHeader"></div>
         <div class="text_title"></div>
         <div class="text_copy"></div>               
     </div>  
     <div class="bottom_footer" style="top:1656px;">   
        <!-- #include virtual="includes/footer.asp" --> 
     </div> 
 </div>  
</div>

```

Now as you can see I am having to put a top distance in the bottom footer to adjust it to the text height. I have tried moving the footer to outside the div\_body but It still wont move as I would like it.

Any suggestions or solutions appreciated.
