fixed sidebar


#1

oops! pls is there anyone that could help with this. check www.lifehacker.com and u’ll discover how the right sidebar looks. can anyone help with code on how to do that. i want to believe it is jquery. thks in advance


#2

It’s just a css positioning thing…although you can use JS to fine-tune it.
The is the style for that sidebar

#rightcontainer {
position: fixed;
margin-bottom: 10px;
width: 300px;
height: 100%;
top: 0;
z-index: 1950;
}


#3

if I get you right you want it keep increasing based on your post, if yes
try this
#right{position:absolute;width:50px; height:100%; left:-11px; top:-30px}
for your listing try this
#list{display:block; width:60px; height:20px; background:#f4f4f4 no repeat; cursor:pointer;}
that should give you the layout. thereafter you can add your feed in the #list side
please note that those values can change it all depends on what size u re looking at.


#4

i also want to add that for you to say “position:fixed; OR position:absolute;” your container must be “position:relative” am i correct?


#5

The style I posted above was the one used on the site.