html - How to bring focused elements into view when behind fixed element -
i having problem textboxes being focused, hidden behind fixed footer. normally, focused elements outside viewable area scrolled view browser. there way treat fixed footer decreases view-height without decreasing viewable area?
i prefer keep position: fixed;
styling, understand may preferable (i.e. easier) have 2 non-overlaping containers.
reference: http://jsfiddle.net/wjvsu/1/
if have first textbox focused , tab through each textbox, should reach point next focused element not visible, hidden behind footer. expect hidden element automatically scrolled view.
if add z-index:999;
footer element keep on top of else.
Comments
Post a Comment