I was curious to know how one might code a gradient border in HTML/CSS.
So I have the following in photoshop....

Which is on both sides of the page.
I had thought that I could create an image with both borders in, measuring the entire width, with everything between the borders being transparent. Then saving as a .png. But then I seem to get problems with padding and it doesn't seem like a clean solution.
Does anyone have any thoughts on how I might achieve the above effect?
Thanks,
Help


















