Witam
Mam problem z tłem w wierszu. Zainstalowałem level mod do phpbb i po przerabianiu skryptu napotkałem się na taki problem:
mam kod:
<?php
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/Conundrum/images/level_mod/mp.bmp" width="1" height="14" /></td>
<td background="templates/Conundrum/images/level_mod/mp.bmp" width="{postrow.POSTER_MP_WIDTH}" height="14"><div align="center" style="color:white;font-size:10px;"></div></td>
<td><img src="templates/Conundrum/images/level_mod/mp.bmp" width="1" height="14" /></td>
<td background="templates/Conundrum/images/level_mod/mpu.bmp" width="{postrow.POSTER_MP_EMPTY}" height="14"></td>
<td><img src="templates/Conundrum/images/level_mod/mpu.bmp" width="1" height="14" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {postrow.POSTER_MP_WIDTH}%</span></td>
</tr>
?>
wyświetla się on następująco:
http://img231.imageshack.us/img231/8171/79776737hf4.jpgjednak w przypadku kiedy chciałem umieścić tekst w tle to wyszło coś takiego:
<?php
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/Conundrum/images/level_mod/mp.bmp" width="1" height="14" /></td>
<td background="templates/Conundrum/images/level_mod/mp.bmp" width="{postrow.POSTER_MP_WIDTH}" height="14"><div align="center" style="color:white;font-size:10px;">{postrow.POSTER_MP}</div></td>
<td><img src="templates/Conundrum/images/level_mod/mp.bmp" width="1" height="14" /></td>
<td background="templates/Conundrum/images/level_mod/mpu.bmp" width="{postrow.POSTER_MP_EMPTY}" height="14"></td>
<td><img src="templates/Conundrum/images/level_mod/mpu.bmp" width="1" height="14" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {postrow.POSTER_MP_WIDTH}%</span></td>
</tr>
?>
http://img231.imageshack.us/img231/7708/41768886sq8.jpgchciałbym, aby wyglądało to tak:
http://img378.imageshack.us/img378/856/72772597ro7.jpg , co mi możecie doradzić?