0

AideImage de fond dans la division sur le droit des frontières dans IE6

je tente désespérément de placer une image de fond sur la bordure droite dans un DIV dans Internet Explorer 6.

Aucun succès jusqu'à présent.

Ceci est mon CSS:

.test 
{ 
    width: 100px; 
    border-right: red thin solid; 
    border-top: red thin solid; 
    border-left: red thin solid; 
    border-bottom: red thin solid; 


    background-position-x: 100%; 
    background-position-y: 0px; 
    background: url(roundcorner_righttile_11x11.png); 
    background-repeat: repeat-y; 
} 

HTML:

<div class="test"> 
text 
</div> 

La division devrait à la fin développer dynamiquement. Le "100 px" est juste pour tester.

Peut-être est-ce parce que c'est un fichier png?

Je suis reconnaissant pour toute aide.

+0

Voulez-vous répéter l'image horizontalement? – rahul

+0

Non je veux répéter vertical. Fondamentalement, il devrait apparaître comme une bordure droite personnalisée faite d'une image de fond. – rudimenter

+0

Quelle est votre erreur? Pouvez-vous élaborer plus? – rahul

Répondre

1
.test 
{ 
    width: 100px; 
    border: red thin solid;  
    background: url(roundcorner_righttile_11x11.png) right top repeat-y; 
} 

<div class="test"> 
text 
</div> 
1

Essayez:

.test 
{ 
    width: 100px; 
    border-right: red thin solid; 
    border-top: red thin solid; 
    border-left: red thin solid; 
    border-bottom: red thin solid; 

    background-position: right top; 
    background: url(roundcorner_righttile_11x11.png); 
    background-repeat: repeat-y; 
} 
Questions connexes