On Wed, Aug 19, 2009 at 5:27 PM, Victor Subervi<victorsube...@gmail.com> wrote: > Are you suggesting something like this? > > #container { > width: 780px; > font-family: Arial; > font-size: 0.8em; > background: url(../images/bgimage.jpg) repeat-y 50% 10%; > border: 1px solid #e6930f; > } > > img #container {background: url(image/bgimage.jpg) repeat-y 50% 10%;} > > If so, what do I do about the width variable, toss it out and add a "border: > 10px" instead? > TIA, > Victor
Maybe I am not understanding what you want. Are you looking for, for example, an image of an ornate picture frame that would surround an image? Not sure a background-image is the answer in this case unless the dimensions are fixed. If you are talking about just a patterned, decorative background-image for behind an image, it's more like: #container { width: 780px; font: .8em Arial; background: url(../images/bgimage.jpg) repeat 0 0; padding: 10px; } <div id="container"> <img src="myimage" width="760" height="xxx" /> </div> Again, maybe I am way off base here... -- Tom Livingston | Senior Interactive Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/