I am currently trying to design some Call-to-action buttons, and I have made a dynamic width button, which is built by a left and right container and then a middle container holding all the text.
The picture in the middle is a 50 px and repeating.
My problem is, that when the picture is <=50px, the green colours in the background picture appears correct. When it is >50px (and the background-picture is repeating) the green color appears to change.
Does anyone know what I have done wrong?
Here is two pictures showing the problem:
The blurred one: http://d.pr/i/fz2b
The correct one: http://d.pr/i/cjgp
EDIT:
I am doing it as follows:
<a href="#">
<div class="left"></div>
<div class="middle">Link text here</div>
<div class="right"></div>
</a>
My backgrounds in .left and .right aren't repeating. My background-picture is only repeating on overflow - and when it overflows the picture changes it's green color. :-)