RE: [xsl] border in image

Subject: RE: [xsl] border in image
From: Greg Faron <gfaron@xxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Dec 2002 10:29:59 -0700
At 08:43 AM 12/18/2002, you wrote:
Why don't you put simply:

<img src="images/cursos/{imagen}" hspace="3" vspace="3" align="right"
boder="2">  ??

        i am trying to put to one image one border , with the 2 value with
this:
        <xsl:element name="img">
        <xsl:attribute name="src">/images/cursos/<xsl:value-of
        select="imagen"/></xsl:attribute>
        <xsl:attribute name="hspace">3</xsl:attribute>
        <xsl:attribute name="vspace">3</xsl:attribute>
        <xsl:attribute name="align">right</xsl:attribute>
        <xsl:attribute name="border">2</xsl:attribute>
        </xsl:element>

but it doesn't put the border.

Both of these will create equivalent output (though the one in the reply is tighter to code and easier to debug), so the question remains: why wasn't the OP's border displaying in the first place? My guess is that there might be a CSS file in effect that is causing the border to be suppressed.



Greg Faron Integre Technical Publishing Co.



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread