XSLT Table Hintergrundbild

Saiz

Grünschnabel
Hab ein Problem. Ich mache mit XSL HTML Seiten.
Und zwar wie kann ich in XSL ein Hintergrundbild machen?

Im HTML würde ich es so machen:
<table cellspacing="0" cellpadding="0" border="0" STYLE="background-image:url('../images/back1.jpg');>

Wenn ich aber STYLE="background-image:url('../images/back1.jpg'); in XSL mache dann gibt es einen Fehler :-(

Code:
	<xsl:template name="mainTemplate">
		<html>
		<xsl:call-template name="HTML_Head"/>
		<body leftmargin="0" bottommargin="0" marginheight="0" marginwidth="0" rightmargin="0" topmargin="0" onload="onLoadCall();">
           <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%"> 
              <tr>
                  <td valign="center" align="center">

                 <table border="0" cellpadding="0" cellspacing="0" width="1000">  <-- Hier will ich das Hintergrund BILD!!
				<!-- this is a form which will contain elements for different pages (this form is always present)-->
				<form name="allPurpose" method="post" action="">
				<!-- make all hidden field here -->
				<xsl:call-template name="makeAllHiddenFields"/>
					<tr>
						<td width="110" bgcolor="{$top.bgcolor}">
							<img src="{$httpServerRoot}/images/pixel.gif" width="110" height="1"/>
						</td>
						<td width="424" bgcolor="{$top.bgcolor}">
							<img src="{$httpServerRoot}/images/pixel.gif" width="424" height="1"/>
						</td>
						<td width="238" bgcolor="{$top.bgcolor}">
							<img src="{$httpServerRoot}/images/pixel.gif" width="238" height="1"/>
						</td>
						<td width="100%" bgcolor="{$top.bgcolor}"></td>
					</tr>
...
 
Zurück