2
.cornerBox {    
    background: url(../img/main-part.png) repeat-x top left ;   
    width: 400px;
    height:100px;
    border-radius: 80px;
    padding: 0 0; 
    behavior: url(PIE/PIE.htc);
}

In IE8 between background images parts is spacing 1px, how to remove this space, image width is 28px I want repeat-x

Wizard
  • 10,985
  • 38
  • 91
  • 165

2 Answers2

3

I had created a jsfiddle example with your code, but used some other image. Tested it in IE8 and found there is no issues.

So I believe the problem may be with your main-part.png. The image may have a white border or something. Double check your image.

EDIT:

No issues with your image also. CLICK ctrl+0 on IE to make sure you are viewing in 100%

Libin
  • 2,442
  • 3
  • 20
  • 31
0

I had similar problem with two divs with background images next to each other. I solved it by assigning:

background-size: cover

Which stretched your image to cover the entire div

Pokechu22
  • 4,984
  • 9
  • 37
  • 62