I have a div with WIDTH 100% and the position is fixed at the top of the page. It covers the vertical scroll bar in IE when vertical html scroll is required.
What can I do to avoid this (I cannot change the fixed bit of the position)?
Is it possible to determine if the vertical scroll page needs onload / resize and change this static div width using jQuery?
or
Solve it completely with CSS?
: overflow:auto body, html.
overflow:auto
body
html
, , div 5 .., .. , ? right:5px
right:5px
jquery :
if ($(window).height() < $(document).height()) { $('#myDiv').css('left', '5px'); }