1 Div values Mon Mar 05, 2012 12:38 am
schiggyswelt
Registered Member
Hi, in this moment I had CSS Sprites in Tables.. but i would have the CSS Sprites in CSS Contrainer.
this are my Table:
my css:
this are my Table:
- Code:
<table width="100%" summary="Kinobereich Pokemon"><tr><td width="31"><div class="s" id="i"></div></td><td width="284"><a title="rede über die Pokemon Serie" class="forumtitle" href="http://www.schiggysboard.com/f32-staffeln">Staffeln</a><br /><span>Hier könnt ihr über die Pokemon Episoden und Staffeln reden.</span></td><td width="31"><div class="s" id="j"></div></td><td width="279"><a title="rede über die Pokemon Kinofilme" class="forumtitle" href="http://www.schiggysboard.com/f10-kinofilme">Kinofilme</a><br /><span>Hier könnt ihr über die Pokemon Kinofilme reden.</span></td></tr></table>
my css:
- Code:
.s{background-image:url(../img/spritexfagb.png);background-color:transparent;background-repeat:no-repeat}
#a{height:33px;width:28px;background-position:0 0}
#b{height:30px;width:30px;background-position:-28px 0}
#c{height:32px;width:33px;background-position:-58px 0}
#d{height:36px;width:33px;background-position:-91px 0}
#e{height:41px;width:48px;background-position:-124px 0}
#f{height:26px;width:32px;background-position:-172px 0}
#g{height:19px;width:40px;background-position:-204px 0}
#h{height:17px;width:21px;background-position:-244px 0}
#i{height:48px;width:48px;background-position:-265px 0}
#j{height:32px;width:32px;background-position:-313px 0}
#k{height:32px;width:30px;background-position:-345px 0}
#l{height:35px;width:34px;background-position:-375px 0}
#m{height:32px;width:32px;background-position:-409px 0}