Great! That works nicely. Now, I understand it's possible to do it with images...but how? How would they resize according to the size of the image around which they're framing, or be put in the background of those images? TIA, Victor
On Wed, Aug 19, 2009 at 11:01 AM, Ron Zisman <[email protected]> wrote: > > On Aug 19, 2009, at 9:44 AM, Victor Subervi wrote: > > Hi; >> I saw this done somewhere but lost track of it. What I would like to do is >> put a resizable background image (or color) behind pics I put on a Web >> site, >> such that, for example, it ends up bordering the image 10 px all around. >> How >> do I do this? >> TIA, >> Victor >> > > something like this? > img {border:10px solid blue;} > > you could use (css) padding or border to create the colored background > --ron > > >> ______________________________________________________________________ >> css-discuss [[email protected]] >> 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/ >> > > ______________________________________________________________________ css-discuss [[email protected]] 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/
