On Apr 17, 2010, at 2:49 PM, Linda Miller, DVM wrote:

> I have a textarea that has a background image.  The background repeats and 
> looks like parchment paper with brown left and right edges. I also have 
> another image that looks like the top of the paper.  I want to use this as 
> the top border image for the textarea but I don't seem to be getting the 
> syntax correct because it is not working.

To add something constructive to this thread, after thrashing your sources:
You could accomplish what you want with multiple background images
http://www.w3.org/TR/css3-background/#layering

#notes {
background: url(top-border-png) no-repeat top left, url(parchment-paper.png) 
repeat 50% 50% lime;
}

The first image is painted on top then the second one, etc.
(the last one in my example also adds a fallback background-color)

a sample test page:
http://dev.l-c-n.com/CSS3_border-background/background-layering1.html


Philippe
---
Philippe Wittenbergh
http://l-c-n.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/

Reply via email to