Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Closed Thread
CSS problems with tablesorter/jquery
Old 06-15-2010, 07:38 AM CSS problems with tablesorter/jquery
Junior Talker

Posts: 2
Trades: 0
Hi,
please take a look at http://devbox.geosciences.com/test-live.php
under Institution / Location / Degrees table there is a pagination div.
I don't know why the distance between the table and the div is huge & i want it one under the other.
please change it to 10 and 20 results/page and navigate thru pages and you'll see how this distance changes.
I have spent an entire day trying all the solutions i could think of like:
- putting the table and pagination in a bigger table like:

or
- using float:left for the pagination div
...
nothing helped.
any ideas? thanks for your time.
webcaesar is offline
View Public Profile
 
 
Register now for full access!
Old 06-15-2010, 07:54 AM Re: CSS problems with tablesorter/jquery
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
A couple of issues ive found so far:

Code:
div.tablesorterPager {
background-color:#FFFFFF;
border:0 solid  red;
margin:0;
padding:0 0 10px;
top:440px;  /* Changed from 547px */



}
Not sure why your using absolute positioning, should be able to float this underneath the table.

Code:
#main .results {
background:url("../images/line2.gif") repeat-y  scroll 339px 0 transparent;
overflow:hidden;
padding:0;  /* Changed from 0 0 83px */

width:100%;


}
The padding was pushing the footer further down.
__________________

Please login or register to view this content. Registration is FREE

Learn professional skills from professional people, from $6.50 a month.
Phunk Rabbit is offline
View Public Profile Visit Phunk Rabbit's homepage!
 
Old 06-15-2010, 08:19 AM Re: CSS problems with tablesorter/jquery
Junior Talker

Posts: 2
Trades: 0
thanks but none of these helped.

where do you see absolute position used?

the design was made by someone else, i'm the programmer.
webcaesar is offline
View Public Profile
 
Old 06-15-2010, 08:22 AM Re: CSS problems with tablesorter/jquery
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
The absolute positioning is an inline style on the pagination widget.

HTML Code:
<div class="tablesorterPager" id="pagerX" style="top: 547px; position: absolute;">
    <form>
        <img class="first" src="http://devbox.geosciences.com/images/first.png">
        <img class="prev" src="http://devbox.geosciences.com/images/prev.png">
        <input type="text" class="pagedisplay">

        <img class="next" src="http://devbox.geosciences.com/images/next.png">
        <img class="last" src="http://devbox.geosciences.com/images/last.png">
        <select class="pagesize">

            <option value="10">10 per page</option>
            <option value="20">20 per page</option>
            <option selected="" value="30">30 per page</option>
            <option value="40">40 per page</option>

            <option value="60">60 per page</option>
        </select>

    </form>
</div>
This is also providing a "top" atribute that needs to be changed.
__________________

Please login or register to view this content. Registration is FREE

Learn professional skills from professional people, from $6.50 a month.
Phunk Rabbit is offline
View Public Profile Visit Phunk Rabbit's homepage!
 
Closed Thread     « Reply to CSS problems with tablesorter/jquery
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31000 seconds with 12 queries