Image match content length
I have 3 same-line DIVs.
In the center div, it auto-lengthens to match it's content. The background of the DIV also auto-lengthens to match it's content.
However I wanted an image-only border around the content that cannot be placed into the background image for the expandable DIV because I have the repeat-x commandment on the background image, this enables all computers to read it perfectly how I want it.
What I'm wondering is - Is it possible to make the image border (one left, one right of background image) to adjust automatically to the length of the DIV as the background image does?
I really hope there is some possible way.
I tried putting it into a table to see if I could get anywhere but it failed.
Any suggestions and help is really appreciated, many thanks.
Owen.
P.S. If you do not understand what I mean please ask for another explanation or link.
|