Adding background and centering it without any repeats

Mannelig

New Member
I am trying to insert a background image and have it so that it does not repeat itself and the image is centered. Here is the XSL coding i have used:\[code\]<?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/countries"><html><body background ="bg_locale.jpg"><font color="white"> <xsl:for-each select="country"> <xsl:value-of select="countryname"/><br/> </xsl:for-each></font></body></html></xsl:template></xsl:stylesheet>\[/code\]
 
Back
Top