Seite 1 von 1

[erledigt] Header anpassen

Verfasst: 25.02.2006 20:26
von She´s a rebel
Hallo...

ich möchte in meinem Header eine 2. rote Leiste machen für die ganzen Links, weil die nicht alle da rein passen in die eine Zeile.

Wie mach ich das??

Hier mal n Teil der overall_header.tpl:

Code: Alles auswählen

<table width="{T_BODY_BACKGROUND}" cellspacing="0" cellpadding="0" border="0" align="center" id="maintable">
<tr>
	<td valign="top" class="content-row"><table border="0" width="100%" cellspacing="0" cellpadding="0" id="logotable">
	<tr>
		<td align="center" class="logorow1"><div class="logorow2"><a href="{U_INDEX}"><img src="images/banner Kopie.jpg" height="88" alt="{L_INDEX}" /></a></div></td>
	</tr>
	</table>
	<table border="0" width="100%" cellspacing="0" cellpadding="0" id="buttonstable">
	<table border="0" width="100%" cellspacing="0" cellpadding="0" id="buttonstable">
	<tr>
		<td align="center" valign="middle" width="100%" id="header-buttons">
                        <a href="http://graphicguestbook.com/gd-forumplanet">Gästebuch</a> •
		        <a href="{U_HANGMAN}">{L_HANGMAN}</a>&nbsp;&nbsp;•
			<!-- BEGIN switch_user_logged_out --> 
			<a href="{U_REGISTER}">{L_REGISTER}</a> • 
			<!-- END switch_user_logged_out --> 
			<!-- BEGIN switch_user_logged_in --> 
			<a href="{U_PROFILE}">{L_PROFILE}</a> • 
			<a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a> • 
			<!-- END switch_user_logged_in --> 
                        <a href="portal.php">Portal</a> •
			<a href="{U_SEARCH}">{L_SEARCH}</a> • 
			<a href="{U_FAQ}">{L_FAQ}</a> • 
			<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a> • 
			<a href="{U_GROUP_CP}">{L_USERGROUPS}</a> • 
                        <a href="{U_CHATROOM}">{L_CHATROOM}</a> • 
			<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> 
		</td>
	</tr>

	</table>
	<table border="0" width="100%" cellspacing="0" cellpadding="0" class="content">
	<tr>
		<td class="content" valign="top">

	<!-- BEGIN switch_user_logged_in -->
	<center><div class="pm-{PRIVMSG_IMG}"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div></center>
	<!-- END switch_user_logged_in -->
Hoffe ihr könnt mir helfen!

Verfasst: 25.02.2006 20:33
von -=Fable=-
Bin auch ein Anfänger, aber ich hätte es mit

Code: Alles auswählen

<table width="{T_BODY_BACKGROUND}" cellspacing="0" cellpadding="0" border="0" align="center" id="maintable">
<tr>
   <td valign="top" class="content-row"><table border="0" width="100%" cellspacing="0" cellpadding="0" id="logotable">
   <tr>
      <td align="center" class="logorow1"><div class="logorow2"><a href="{U_INDEX}"><img src="images/banner Kopie.jpg" height="88" alt="{L_INDEX}" /></a></div></td>
   </tr>
   </table>
   <table border="0" width="100%" cellspacing="0" cellpadding="0" id="buttonstable">
   <table border="0" width="100%" cellspacing="0" cellpadding="0" id="buttonstable">
   <tr>
      <td align="center" valign="middle" width="100%" id="header-buttons">
                        <a href="http://graphicguestbook.com/gd-forumplanet">Gästebuch</a> •
              <a href="{U_HANGMAN}">{L_HANGMAN}</a>&nbsp;&nbsp;•
         <!-- BEGIN switch_user_logged_out -->
         <a href="{U_REGISTER}">{L_REGISTER}</a> •
         <!-- END switch_user_logged_out -->
         <!-- BEGIN switch_user_logged_in -->
         <a href="{U_PROFILE}">{L_PROFILE}</a> •
         <a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a> •
         <!-- END switch_user_logged_in -->
                        <a href="portal.php">Portal</a> •
         <a href="{U_SEARCH}">{L_SEARCH}</a> •
         <a href="{U_FAQ}">{L_FAQ}</a> •
         <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a> •
         <a href="{U_GROUP_CP}">{L_USERGROUPS}</a> •
                        <a href="{U_CHATROOM}">{L_CHATROOM}</a> •
         <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>
      </td>
   </tr>
  <tr>
      <td align="center" valign="middle" width="100%" id="header-buttons">
HIER DIE NEUEN LINKS
      </td>
   </tr>

   </table>
   <table border="0" width="100%" cellspacing="0" cellpadding="0" class="content">
   <tr>
      <td class="content" valign="top">

   <!-- BEGIN switch_user_logged_in -->
   <center><div class="pm-{PRIVMSG_IMG}"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div></center>
   <!-- END switch_user_logged_in --> 
probiert. War das nicht böse wenn man ne ID 2mal zuteilt?^^ Weiß ich gar nich genau

Re: Header anpassen

Verfasst: 25.02.2006 20:33
von Julian87
Hi,

so jetzt habe ich mal die erste Rote Reihe kopiert jetzt hast du diese Zweimal udn aus einer kannst du dann die Links löschen, udn dann hast du genug Platz für neue Links. :wink:

Code: Alles auswählen

<table width="{T_BODY_BACKGROUND}" cellspacing="0" cellpadding="0" border="0" align="center" id="maintable"> 
<tr> 
   <td valign="top" class="content-row"><table border="0" width="100%" cellspacing="0" cellpadding="0" id="logotable"> 
   <tr> 
      <td align="center" class="logorow1"><div class="logorow2"><a href="{U_INDEX}"><img src="images/banner Kopie.jpg" height="88" alt="{L_INDEX}" /></a></div></td> 
   </tr> 
   </table> 
   <table border="0" width="100%" cellspacing="0" cellpadding="0" id="buttonstable"> 
   <table border="0" width="100%" cellspacing="0" cellpadding="0" id="buttonstable"> 
   <tr> 
      <td align="center" valign="middle" width="100%" id="header-buttons"> 
                        <a href="http://graphicguestbook.com/gd-forumplanet">Gästebuch</a> • 
              <a href="{U_HANGMAN}">{L_HANGMAN}</a>&nbsp;&nbsp;• 
         <!-- BEGIN switch_user_logged_out --> 
         <a href="{U_REGISTER}">{L_REGISTER}</a> • 
         <!-- END switch_user_logged_out --> 
         <!-- BEGIN switch_user_logged_in --> 
         <a href="{U_PROFILE}">{L_PROFILE}</a> • 
         <a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a> • 
         <!-- END switch_user_logged_in --> 
                        <a href="portal.php">Portal</a> • 
         <a href="{U_SEARCH}">{L_SEARCH}</a> • 
         <a href="{U_FAQ}">{L_FAQ}</a> • 
         <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a> • 
         <a href="{U_GROUP_CP}">{L_USERGROUPS}</a> • 
                        <a href="{U_CHATROOM}">{L_CHATROOM}</a> • 
         <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> 
      </td> 
   </tr> 
   <tr> 
      <td align="center" valign="middle" width="100%" id="header-buttons"> 
                        <a href="http://graphicguestbook.com/gd-forumplanet">Gästebuch</a> • 
              <a href="{U_HANGMAN}">{L_HANGMAN}</a>&nbsp;&nbsp;• 
         <!-- BEGIN switch_user_logged_out --> 
         <a href="{U_REGISTER}">{L_REGISTER}</a> • 
         <!-- END switch_user_logged_out --> 
         <!-- BEGIN switch_user_logged_in --> 
         <a href="{U_PROFILE}">{L_PROFILE}</a> • 
         <a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a> • 
         <!-- END switch_user_logged_in --> 
                        <a href="portal.php">Portal</a> • 
         <a href="{U_SEARCH}">{L_SEARCH}</a> • 
         <a href="{U_FAQ}">{L_FAQ}</a> • 
         <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a> • 
         <a href="{U_GROUP_CP}">{L_USERGROUPS}</a> • 
                        <a href="{U_CHATROOM}">{L_CHATROOM}</a> • 
         <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> 
      </td> 
   </tr> 

   </table> 
   <table border="0" width="100%" cellspacing="0" cellpadding="0" class="content"> 
   <tr> 
      <td class="content" valign="top"> 

   <!-- BEGIN switch_user_logged_in --> 
   <center><div class="pm-{PRIVMSG_IMG}"><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></div></center> 
   <!-- END switch_user_logged_in --> 
Julian

Verfasst: 25.02.2006 22:46
von She´s a rebel
danke hat geklappt. is genauso wie ichs haben wollte!!!! thx :D