0

Help

I try desperately to place a background image on the right border in a DIV in Internet Explorer 6.

No success so far.

This is my 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;
}

the HTML:

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

The Div should in the End expand dynamically. The "100 px" is just for testing.

Maybe its because its an png file?

I am gratefull for any help.

rudimenter
  • 3,242
  • 4
  • 33
  • 46

2 Answers2

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

<div class="test">
 text
</div>
rahul
  • 184,426
  • 49
  • 232
  • 263
1

Try:

.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;
}
warpech
  • 6,293
  • 4
  • 35
  • 36