Home › Forums › CSS › jquery countdown works alone but not after I put it inside another
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 html:
css tnx for the codes! It’s probably not working because you’re giving it the same ID.
crs95
/* 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;
}claimback35
filipeb
Forums
The forums ran from 2008-2020 and are now closed and viewable here as an archive.