squirellplaying
01-22-2005, 08:04 PM
I'm trying to add a background image to a div but it's not working. I want to add it to my dateBottom class.
<div id="d6_28" onclick="return door(this);">
<div class="dateTitle">July 28<sup>th</sup></div>
<div class="open" >
Give me feedback through the feedback link. Many more features are too come as I figure out a way to impliment them. Enjoy.
</div>
<div class="dateBottom"></div>
</div>
Style:
.dateTitle{
background-image:url('dateTop.gif');
background-repeat:no-repeat;
color:#006699;
}
.dateBottom{
background-image:url('dateBottom.gif');
color:#006699;
}
.open{
background-image:url('dateMiddle.gif');
background-repeat:repeat;
}
.closed{
}
The dateBottom class isn't getting the dateBttom.gif, instead it is getting the dateMiddle.gif. I've tried with and without text in the dateBottom div. I can't figure out what I've done wrong.
Linkage : http://troop1910.ithium.net
<div id="d6_28" onclick="return door(this);">
<div class="dateTitle">July 28<sup>th</sup></div>
<div class="open" >
Give me feedback through the feedback link. Many more features are too come as I figure out a way to impliment them. Enjoy.
</div>
<div class="dateBottom"></div>
</div>
Style:
.dateTitle{
background-image:url('dateTop.gif');
background-repeat:no-repeat;
color:#006699;
}
.dateBottom{
background-image:url('dateBottom.gif');
color:#006699;
}
.open{
background-image:url('dateMiddle.gif');
background-repeat:repeat;
}
.closed{
}
The dateBottom class isn't getting the dateBttom.gif, instead it is getting the dateMiddle.gif. I've tried with and without text in the dateBottom div. I can't figure out what I've done wrong.
Linkage : http://troop1910.ithium.net