Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Drupal 7 make 2 boxes in content region fixed distance to the bottom of browser

Avatar of drupal_100
drupal_100Flag for United States of America asked on
CSSHTMLDrupal
4 Comments1 Solution420 ViewsLast Modified:
In a Drupal 7 Omega based theme, want to have 2 boxes in content region as followings:
1. The 2 boxes have fixed distance to the bottom of browser.
2. One box is at the left side to the left side of content region.
3. The other box is at the right side to the right side of content region.

In following code, put 2 boxes within Box_Container.
The container is 100% width of content region, and is 200px from top.
How to make the container is 200px above the bottom of browser?

<style>
.Box_Container {
position: absolute;
width: 100%;
top: 200px;
}
.Left_Background {
  background-color: green;
  position: relative;
  bottom: 100px;  
  height: 200px;
  width: 30%;
  float: left;
}
.Right_Background {
  background-color: blue;  
  position: relative;
  bottom: 100px;
  height: 200px;
  width: 50%;
  float : right;
}
</style>

<div class="Box_Container">

<div class="Left_Background">
This is left side box.
</div>
   
<div class="Right_Background">
This is right side box.
</div>

</div>
ASKER CERTIFIED SOLUTION
Avatar of David S.
David S.Flag of United States of America imageConsultant & Challenge Subduer
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers