In my MVC view, I have PagedList.PagedCountand @Html.PagedListPagerthat successfully display their data, but they appear on separate lines, because it PagedList.PagedCountdisplays as text without a tag, and @Html.PagedListPagerdisplays as a div. Therefore, it makes sense that there will be a line break. But is there a way to get them on the same line?
So far I have tried without success:
(1) A wrapper with a wrapper <div style="display:inline-block">, as well as <div style="display:inline">this, had no effect.
(2) By removing any spaces between both sets of code. (Now that makes sense, but I tried anyway.)
This is the code that shows the page and page buttons.
Page @(pagedList.PageCount < pagedList.PageNumber ?
0 : pagedList.PageNumber) of @pagedList.PageCount
@Html.PagedListPager(pagedList, page => Url.Action("Index",
new { page, sortOrder = ViewBag.CurrentSort, currentFilter = ViewBag.CurrentFilter }))
Here's what it looks like in a browser. 
Here's what the browser looks like:

pagedListPager css, , -, , css.
user4864716