i wonder if this is possible with simple css or if i have to use javascript for this?
i have a sidebar on my website. a simple div#sidbar it\'s normally about 1024px
If you know the exact height of #widget (100px in your case), you can avoid using JavaScript by using absolute positioning:
#widget
#sidebar { height: 100%; width: ...; position: relative; } .widget { height: 100px; } #rest { position: absolute; left: 0; width: 100%; top: 200px; bottom: 0; }