a[href $='.txt'] {
padding: 0 20px 0 0;
background: transparent url(images/icons/file-txt.png.xhtml) no-repeat
center right;
}
Notice the relative reference-URL. This allows resource loading from any source, as long as you can "do the math" and calculate the relative URL.
On Fri, 2009-10-02 at 14:39 -0700, Jim Driscoll wrote:
but once we allow it,
we can't "unallow" it when a better method comes along.
-- Lincoln Baxter, III Co-Founder of OcpSoft Creator of: PrettyFaces: URL rewriting for JSF PrettyTime: Java elapsed timestamp formatting |