Is it possible to use a background image in a border, as follows: #line { border: 2px solid #999 url(border.gif) repeat-x }?
That doesn't seem to work - neither the line nor the image appear...
Is it possible to use a background image in a border, as follows: #line { border: 2px solid #999 url(border.gif) repeat-x }?
That doesn't seem to work - neither the line nor the image appear...
It is possible, but you need to specify height and width, as follows:
#line { width: 100%; height: 2px; background: #999 url(border.gif) repeat-x }
This example assumes that your pixel graphic is 2px tall, and 1px wide (you can make it wider, but to reduce the size of the image, if you're only using two colors, you can make it 1px wide and then use repeat-x to create the line).