CSS question for www.squeak.org

karl karl.ramberg at chello.se
Thu Jan 12 21:00:27 UTC 2006


I'm thinking of adding a small News box on www.squeak.org but I can't 
figure
out a CSS issue. I have a menu wich is defined like this:

#menu {
  position:absolute;
  top: 75px;
  left: 10px;
  width:110px;
  padding:10px;
  background-color:#eee;
  border:1px dashed #999;
  line-height:17px;
}

Below that menu box I would like to display the news box but the menu 
box changes in height.
How do I tell the news box to position it self about 20 pixels below the 
bottom of the menu box ?

#news {
  position:absolute;
  top: ?????; menu bottom + 20 px
  left: 10px;
  width:110px;
  padding:10px;
  background-color:#eee;
  border:1px dashed #999;
  line-height:17px;
}

Karl




More information about the Squeak-dev mailing list