![]() |
|
#15
|
||||
|
||||
|
Halb so wild, war nur ein Selektoren Problem. Lösung wie folgt:
Erst die CSS Befehle zum integrieren: Code:
.rating0 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/0Sterne.jpg);}
.rating1 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/1Sterne.jpg);}
.rating2 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/2Sterne.jpg);}
.rating3 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/3Sterne.jpg);}
.rating4 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/4Sterne.jpg);}
.rating5 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/5Sterne.jpg);}
.rating6 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/6Sterne.jpg);}
.rating7 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/7Sterne.jpg);}
.rating8 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/8Sterne.jpg);}
.rating9 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/9Sterne.jpg);}
.rating10 {
display:block;
width:264px;
height:28px;
background-image:url(http://www.photoshop-cafe.de/garion/garion/DVD/10Sterne.jpg);}
Code:
<tr><th>$$rating_LABEL$$</th><td><span class="$$rating$$"></span></td></tr> Code:
<tr><th>$$rating_LABEL$$</th><td><span class="rating$$rating$$"></span></td></tr> Alternativ kannst Du aber eben auch folgendes machen: CSS alles weglassen (rating0-ratingx) und anstatt: Code:
<tr><th>$$rating_LABEL$$</th><td><span class="rating$$rating$$"></span></td></tr> Code:
<tr><th>$$rating_LABEL$$</th><td><img src="http://www.photoshop-cafe.de/garion/garion/DVD/$$rating$$Sterne.jpg"></td></tr>
|
| Lesezeichen |
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Software c++ frage ... | paradox | Installation, Konfiguration, Hardware und Software | 3 | 01.03.11 12:14 |
| IQ-Frage | gelöschter User | Lounge | 40 | 17.02.11 20:49 |
| Frage zu Tut | GrimmeL | Hilfestellung, Tipps und Tricks | 12 | 27.12.10 20:32 |
|
|
Dagger | Hilfestellung, Tipps und Tricks | 2 | 11.04.10 23:50 |
| Ich hab ne Frage | Sinux | Lounge | 14 | 08.04.10 16:51 |
![]()