[HTML] Problem bei Positionierung eines Banners

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [HTML] Problem bei Positionierung eines Banners

    Hallo Forum-Helper,

    ich würde auf meiner Forum-Seite http://www.xxx.xxx ein Werbebanner gerne direkt neben meinem Forum-Logo haben und weiß nicht, an welcher Stelle in dem folgenden Code ich das Banner einfügen muss, damits auch neben dem Logo angezeigt wird.

    Vielleicht kann mir ja jemand helfen!!

    Das ist der Forum-Header-Code:

    Code:
    <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
    <head> 
    <style type="text/css"> 
       <!-- 
    #box1 { 
    position:absolute; 
    top:0px; 
    left:0px; 
    z-index:1; 
    } 
     --> 
       </style> 
    </head> 
    <div id="box1"><a href="index.php?sid="><img src="{$style['imagefolder']}/header_logo.gif" border="0" /></a></div> 
    <table background="{$style['imagefolder']}/header_back.gif" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
     <td><img src="{$style['imagefolder']}/header_back.gif" alt="" border="0"></td>
     <td width="100%"></td>
    </tr>
    </table>
    <table height="15" border="0" cellspacing="0" cellpadding="0">
    <tr>
     <td></td>
    </tr>
    </table>
    <table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder">
     <tr>
      <td class="mainpage" align="center">
    <br />
       <br /><if($wbbuserdata['userid'])><then><a href="usercp.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_usercp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" /></a></then>
         <else><a href="register.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_register.gif" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" /></a></else></if>
         <a href="calendar.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_calendar.gif" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" /></a>
         <a href="memberslist.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_members.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" /></a>
         <a href="team.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_team.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" /></a>
         <a href="search.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_search.gif" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" /></a>
         <a href="misc.php?action=faq&amp;sid=$session[hash]"><img src="{$style['imagefolder']}/top_faq.gif" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" /></a>
         <if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" /></a></then></if>
         <if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_modcp.gif" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" /></a></then></if>
         <a href="index.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_start.gif" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" /></a> <a href="portal.php?sid=$session[hash]"><img src="{$style['imagefolder']}/top_portal.gif" border="0" alt="Portal" title="Portal" /></a><br /><br />
    Der Banner der jetzt unterhalb der Foren klebt soll neben das Forum-Logo (Datei: header_logo.gif).

    Wäre echt cool, wenn ihr mir da helfen könntet!
    Last edited by baeumel; 03-12-2005, 09:15.

  • #2
    du brauchst nur das
    Code:
    #box1 { 
    position:absolute; 
    top:0px; 
    left:0px; 
    z-index:1; 
    }
    zu duplizieren, namen & position zu verändern und einen weiteren
    div mit der entsprechenden id und dem inhalt anlegen.
    Kissolino.com

    Comment

    Working...
    X