Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS jquery countdown works alone but not after I put it inside another

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38938
    crs95
    Member

    I’m working on a basic countdown using jquery countdown from Keith Wood. I’ve formatted the countdown how I’d like to use it and it works fine. I then want to place that countdown within another image. I’ve got the background image I’m using set within a

    but once I place the

    to call the countdown inside this other

    , it disappears. Any help would be appreciated.

    html:





    jQuery Countdown

















    css

    /* jQuery Countdown styles 1.5.11. */
    .hasCountdown {
    border: 0px solid #ccc;
    background-color: #eee;
    }
    .countdown_rtl {
    direction: rtl;
    }
    .countdown_holding span {
    background-color: #ccc;
    }
    .countdown_row {
    clear: both
    width: 100%;
    padding: 0px 2px;
    text-align: center;
    }
    .countdown_show1 .countdown_section {
    width: 98%;
    }
    .countdown_show2 .countdown_section {
    width: 48%;
    }
    .countdown_show3 .countdown_section {
    width: 32.5%;
    }
    .countdown_show4 .countdown_section {
    width: 24.5%;
    }
    .countdown_show5 .countdown_section {
    width: 19.5%;
    }
    .countdown_show6 .countdown_section {
    width: 16.25%;
    }
    .countdown_show7 .countdown_section {
    width: 14%;
    }
    .countdown_section {
    display: block;
    float: left;
    font-size: 75%;
    text-align: center;
    }
    .countdown_amount {
    font-size: 200%;
    }
    .countdown_descr {
    display: block;
    width: 100%;
    }
    .box_countdown {
    width: 620px;
    height: 49px;
    background-image:url('../images/nextgame.png');
    padding-left: 10px;
    padding-top:33px
    }
    .countdown_space {
    width: 250px;
    height: 45px;
    }
    #106292
    claimback35
    Member

    tnx for the codes!

    #106304
    filipeb
    Member

    It’s probably not working because you’re giving it the same ID.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.