Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Thanked 0 Times in 0 Posts

    Pagination and CSS Help


    I am new to this and trying to put things together, but my head is hurting. I hope somebody can help me out.

    Simple form and database. I am adding cities in my area. It just has the cityID and city in the fields.

    I found a nice place to get the pagination script, but I am having problems with the CSS.

    It has a table with repeating regions.

    I would like to change the hover state and the link visited and active.

    Any help would be great.

    Here is the code

    [CODE] <?php
    for ($i=0; $i <= $totalPages_rsCity; $i++) {
    $TFM_PagesEndCount = $i + 1;
    if($i != $pageNum_rsCity) {
    printf('<a href="'."%s?pageNum_rsCity=%d%s", $currentPage, $i, $queryString_rsCity.'">'.$TFM_PagesEndCount."</a>");
    echo("<span class='current'>$TFM_PagesEndCount</span>");
    if($i != $totalPages_rsCity) echo("|");
    ?> [CODE]

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Thanked 2,224 Times in 2,211 Posts
    I would like to change the hover state and the link visited and active.
    This is not a PHP question. This should have asked under HTML& CSS, with some relevant HTML output taken from browser's view source option.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts