• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Hintergrundbild.........

Status
Für weitere Antworten geschlossen.

dywoo

Neues Mitglied
hallo Leute, ich bin grad auf dieses Forum gestossen und hoffe das ihr mir helfen könnt bei einem problem:

Folgendes: Ich möchte ein Hintergrund in nachfolgenden Code einfügen. Das ist ja eigentlich gar kein problem, doch es sollte so aussehn, das das bild sich in der Tabelle zu 100% angezeigt wird und eine höhe von 300px hat. die 100% angabe hat leider bei mir nicht geklappt. Ich hoffe ihr könnt helfen. Wenn Ihr noch fragen haben solltet, einfach fragen - vielen Dank


Code:
{config_load file="$language/lang_$language.conf" section="new_products"}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="infoBoxHeading">{#heading_text#} </td>
  </tr>
</table>




<table width="99%" height="250" border="0" cellpadding="0" cellspacing="0" background="http://www.xxxxxx.xx/werbung.jpg">
  <tr>
  {foreach name=aussen item=module_data from=$module_content}
{php} $col++;
{/php} 
   <td valign="top" style="padding-bottom: 10px;">
        <table  border="0" align="center" cellpadding="0"  cellspacing="0" style="border: 1px solid; border-color: #ddd;  width: 200px;">
         
          <tr> 
          <td rowspan="1">[img]{$tpl_path}img/pixel_trans.gif[/img]</td>
            <td  align="center">{if $module_data.PRODUCTS_IMAGE}[url="{$module_data.PRODUCTS_LINK}"][img]{$module_data.PRODUCTS_IMAGE}[/img][/url]{/if}</td>
          </tr>
            <tr>
            <td>[img]{$tpl_path}img/pixel_trans.gif[/img]</td>
            <td class="main2" style="padding-left: 3px; padding-right: 3px; text-align: center;" valign="top">[b][url="{$module_data.PRODUCTS_LINK}"]{$module_data.PRODUCTS_NAME}[/url][/b]</td>
          </tr>
          <tr>
            <td>[img]{$tpl_path}img/pixel_trans.gif[/img]</td>
            <td class="main2"  style="padding-left: 3px; padding-right: 3px; text-align: center;" valign="top">{$module_data.PRODUCTS_DESCRIPTION}</td>
          </tr>
           <tr>
            <td>[img]{$tpl_path}img/pixel_trans.gif[/img]</td>
            <td class="price" align="center" valign="top">
              [b]{$module_data.PRODUCTS_PRICE}
              [/b]</td>
        </tr>
      </table>
    </td>
{php}
if ($col>=3) {
$col=0;
echo '</tr><tr>';
}{/php}
{/foreach}

  </tr>
</table>
 
Werbung:
hintergrundbilder können in ihrer größe nicht verändert werden das geht nur bei normalen bildern...
 
hallo Prophet, danke für die schnelle antwort.

und per css??? nur ich habe leider keine ahnung wie ich das in den oben genannten code bekomme :?
 
Werbung:
wenn prophet sagt das geht nicht dann geht das auch nicht per css ..
aberehrlich gesagt: das bild wuerde sich doch vollkommen verpixel wenn du es z.b. mit ner aufloesung von 1600 * 1800 pixeln die seite anguckst.
 
also geht das gar nicht was ich vorhatte, mal abgesehn von dem verpixeln.
hatte gedacht mit css wäre was machbar scheint wohl doch nciht so - schade :evil:
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben