我尝试添加一个带负值的padding-top元素,但没有成功。有没有人知道如何获得间距或填充,这样我的导航栏和图像之间就没有空格了?-- Everything you want hidden at 940px or less, place within here --> background-repeat: no-repeat; height:
我将在页面左侧设置一个粘性的导航目录,以便与页面一起滚动,并使用Jquery将其与页面向下滚动。我有绝对位置150 is从顶部,但当我使用Jquery时,它需要导航到页面顶部将跳转到顶部:150 is位置,但我如何使它激活一旦它从顶部到达150 is,这样就不再有跳转。我使用的Jquery是 var top = $('#jump-list').offset().top - parseFloat
我必须为许多使用jQuery和引导程序3开发的网页添加一个页脚。position: relative;} /* Margin bottom by footer height */ bottom: 0; /* Set the fixed height of the footer here */
height: 40px;