'Freeze panes'-style effect using CSS/HTML -
is possible/easy create web page act microsoft excel spreadsheet has 'freeze panes' applied it? this, mean header , sidebar should remain fixed in places scroll down/right when page scrolled.
i need this, except want applied whole page , not table.
this can don switching position: fixed
.
for example div class
#fixed-div { position: fixed; top: 0; left: 0; right: 0; height: 100px; background-color: #000; }
will remain fixed in upmost 100px of browser viewport when you're scrolling.
this fiddle demonstrates effect in both vertical , horizontal direction. http://jsfiddle.net/ukzyf/1/
hope helps.
Comments
Post a Comment