CSS: Is it possible to use only a set part of an image as a background filler?

Posted by serg555 on Stack Overflow See other posts from Stack Overflow or by serg555
Published on 2010-04-08T22:30:18Z Indexed on 2010/04/08 22:33 UTC
Read the original article Hit count: 184

Filed under:
|

I have background image for a site header with fixed width. Now I am trying to convert it to a stretching layout.

Is it possible (in CSS2) to take 1px wide portion from the middle of that header image and make a filler out of it? Otherwise I would need to manually cut 1px wide portion of an image, save it as a separated image, and use it with repeat-x.

© Stack Overflow or respective owner

Related posts about css

Related posts about background-image