M
Mark247
Hi,
When transforming an XSLT to HTML I get a very annnoying white spac
gap of about 2px under each image. This is particularly annoying as
am creating a vertical navigation menu made up of images wit
rollovers. I know why the space is there, I just dont know how t
remedy the problem in my XSLT. The space is caused by the transforme
HTML closing </a> being on the next line from the closing </img> ta
and the closing </td> on the next line again. Even if I line everythin
up on the same line in the source XSLT it jumps down again when it i
transformed to HTML.
The XSLT code is pretty simple:
<td><a>
<xsl:attribute name="href">
<xsl:value-of select="$VirPath" />default.aspx
</xsl:attribute>
<img name="ImageName" src="Image.gif>
</img></a></td>
How can I force the transformed HTML to line up properly so I dont ge
this 2px gap under my images
-
Mark24
When transforming an XSLT to HTML I get a very annnoying white spac
gap of about 2px under each image. This is particularly annoying as
am creating a vertical navigation menu made up of images wit
rollovers. I know why the space is there, I just dont know how t
remedy the problem in my XSLT. The space is caused by the transforme
HTML closing </a> being on the next line from the closing </img> ta
and the closing </td> on the next line again. Even if I line everythin
up on the same line in the source XSLT it jumps down again when it i
transformed to HTML.
The XSLT code is pretty simple:
<td><a>
<xsl:attribute name="href">
<xsl:value-of select="$VirPath" />default.aspx
</xsl:attribute>
<img name="ImageName" src="Image.gif>
</img></a></td>
How can I force the transformed HTML to line up properly so I dont ge
this 2px gap under my images
-
Mark24