JQuery Pagination

sjay59

Junior Member
Right sorry it's me again,

Firstly this isn't a big problem but and it would rarely be a problem but, somehow muggins here came across it and its annoying me, I bet most of you can relate.

HTML:
<div id="content">  
 <p class="newsboxes">some text</p>
 <p class="newsboxes">some text</p> 
 <p class="newsboxes">some text</p> 
 <p class="newsboxes">some text</p> 
 <p class="newsboxes">some text</p> 
</div> 
<div class="pagination"></div>
the code above is what I'm pagination for this i've used this plugin I have all this working fine 3 per page so it generates two pages in all.

obviously the
HTML:
<div class="pagination"></div>
is where the navigation goes for the pagination so far so good but for some odd reason once you cleck on 'next then previous, next then previous, next then previous, next' (don't ask me what i was doing to find that out lol) it generates a 8
HTML:
<br clear="all">
making the div scrollable which I don't want. It seems to me that every time you click on Next or Previous it generates a <br>.

has anyone come across this know what might be the problem?

Cheers guys.

p.s Love this Forum
 
Back
Top