Seite 1 von 1

Header Problem

Verfasst: 02.04.2004 17:21
von Masterslig
Ich bin dabei einen eigenen Style zu entwerfen...
Hab folgendes Problem:

Links im header soll ein bild (logo) sein und daneben ein kleines bild was sich immer wiederholt je nach größe des monitors (wie Cellpic)

Wie mach ich das?

Danke im Voraus :wink:

Verfasst: 03.04.2004 11:01
von Masterslig
So soll es aussehen (Beispiel)
[ externes Bild ]
Die NAvigation hab ich schon...
Am besten zeig ich euch mal den code vom bisherigen header:

Code: Alles auswählen

<img src="templates/subBlack3dBlue/images/htop.gif" width=100% height=35><table border=0 cellpadding=0 cellspacing=0 width=100% height=35>
   <tr><td width=100% height=44 background="templates/subBlack3dBlue/images/hmdl.gif">
       <a href="{U_INDEX}" ><img src="templates/subBlack3dBlue/images/logo.gif" border=0></a></td></tr>
   </td></tr></table><img src="templates/subBlack3dBlue/images/hbtm.gif" width=100%><table border=0 cellpadding=0 cellspacing=0 width=100% height=25><tr><td class=menuline>
Das müsste der teil seiin der ersetzt werden muss..
-------------------------
Und das ist halt die navigation unter den bildern...

Code: Alles auswählen

<table border=0 cellpadding=0 cellspacing=0 width=100% height=25>
   <tr><td bgcolor=#222222 width=49 height=25><img src="templates/subBlack3dBlue/images/l-bar1.gif" width=49 height=25></td>
       <td width=100% height=25 background="templates/subBlack3dBlue/images/c-bar.gif" noWrap valign="bottom"><span class="mainmenu"><a href="../" class="mainmenu"><img src="templates/subBlack3dBlue/images/bt-home.gif" border="0"></a></span>
          <span class="mainmenu"><a href="{U_FAQ}" class="mainmenu"><img src="templates/subBlack3dBlue/images/bt-faq.gif" border="0"><!--{L_FAQ}--></a></span>
          <span class="mainmenu"><a href="{U_SEARCH}" class="mainmenu"><img src="templates/subBlack3dBlue/images/bt-search.gif" border="0"><!--{L_SEARCH}--></a> 
          <a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subBlack3dBlue/images/bt-memberlist.gif" border="0"><!--{L_MEMBERLIST}--></a>
          <a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subBlack3dBlue/images/bt-usergroups.gif" border="0"><!--{L_USERGROUPS}--></a> 
          <!-- BEGIN switch_user_logged_out -->
          <a href="{U_REGISTER}" class="mainmenu"><img src="templates/subBlack3dBlue/images/bt-register.gif" border="0"><!--{L_REGISTER}--></a></span>
          <!-- END switch_user_logged_out -->
          <span class="mainmenu"><a href="{U_PROFILE}" class="mainmenu"><img src="templates/subBlack3dBlue/images/bt-profile.gif" border="0"><!--{L_PROFILE}--></a>
          <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subBlack3dBlue/images/bt-pm.gif" border="0"></a> 
          <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subBlack3dBlue/images/bt-login.gif" border="0"><!--{L_LOGIN_LOGOUT}--></a></span></td>
      <td bgcolor=#222222 width=49 height=25><img src="templates/subBlack3dBlue/images/r-bar1.gif" width=49 height=25></td></tr></table></td></tr></table>
</a><table width="100%" cellspacing="0" cellpadding="6" border="0" align="center"> 
<tr><td class="bodyline">
Hoffe ihr könnt mir jetzt helfen...

Verfasst: 03.04.2004 16:19
von Mungo

Code: Alles auswählen

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr height="hoehe">
    <td width="breite"><img src="logo.gif" width="breite" height="hoehe" border="0" alt="Logo" /></td>
    <td background="hintergrund.gif">&nbsp;</td>
  </tr>
</table>
Vom Prinzip her geht das so. Da ich allerdings nicht weiß welche Datei bei dir was ist, kann ich es dir nur so zeigen.

Verfasst: 03.04.2004 16:41
von Masterslig
Vielen Dank :D
Probier es sofort aus...

Verfasst: 03.04.2004 17:20
von Dwing
Du musst das hoehe durch ne Zahl (z.B. 10) ersetzen

Code: Alles auswählen

<tr height="hoehe">