2015-01-12 5 views
0

이것은 간단한 수정 일 수 있으며 이미 답변을 검색했지만 찾지 못했습니다. 몇 페이지가있는 경우페이징 바가 오른쪽 열의 맨 위로 이동하는 것을 방지하는 방법?

enter image description here

어떻게 오른쪽 상단에 점프에서 계속 않습니다 아래와 같이 몇 페이지가 존재있을 때 내 페이징 바 상단으로 이동?

부분보기 :

div class="container"> 
<div class="col-md-8"> 

    <div class="posts"> 
     <div class="row"> 
     <div class="content"> 
      <h2>Archive from @DateAndTime.MonthName(ViewContext.RouteData.Values("Month")) @ViewContext.RouteData.Values("Year")</h2> 
       @For Each item In Model.ToList 
       @<div class="col-lg-6 col-md-6"> 
        <div class="panel panel-default panel-body"> 
         @item.PostDateCreated.Value.ToShortDateString @item.PostDateCreated.Value.AddHours(3).ToShortTimeString 
         <div class="galleryImgWrapper"> 
          <a href="@Url.Action("Details", "Posts", New With {.id = item.Id, .title = (item.PostTitle).ToSeoUrl}, Nothing)"> 
          @Html.Raw(item.PostSummary.GetImage) 
          </a> 
          </div> 
          <h4>@Html.ActionLink(item.PostTitle, "Details", "Posts", New With {.id = item.Id, .title = item.PostTitle.ToSeoUrl}, Nothing)</h4> 
          @Html.Raw(item.PostSummary.RemoveImgWithRegex) 
        </div> 
       </div> 
      Next 
     </div> 
     </div> 
    </div> 
</div> 



    @Html.BootstrapPager(ViewContext.RouteData.Values("Page"), 
     Function(index) Url.Action("Archives", "Posts", New With {.page = index}), 
     ViewBag.count, System.Web.Configuration.WebConfigurationManager. 
     AppSettings("PageSize"), 20) 
</div> 

답변

0

그것을 해결은 - 페이징 바 정말 넓은 폭을 추가하고 그 라인에 상단에 점프에서 모두 유지합니다.

.superwide { 
width:100000px; 
} 
관련 문제