Header richtig anpassen

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
all-around-board
Mitglied
Beiträge: 758
Registriert: 09.11.2005 00:47
Wohnort: Amberg
Kontaktdaten:

Header richtig anpassen

Beitrag von all-around-board »

Hallo,

So schauts bei mir im Moment aus:

[ externes Bild ]

wie bring ich die Leerzeile zwischen lilaBalken (Mitgliederliste, usw) und dem Banner oben raus?? Das ist meine overall_header:

Code: Alles auswählen

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="http://www.all-around-board.de/templates/PlayStation/PlayStation.css" type="text/css">
<style type="text/css"> 
form { 
margin: 0px; 
padding: 0px; 
} 
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- Start add - Birthday MOD -->
{GREETING_POPUP}
<!-- End add - Birthday MOD -->


<Script>


<!-- 

registerup = new Image; registerup.src = "templates/PlayStation/images/nav_register.gif";
registerdown = new Image; registerdown.src = "templates/PlayStation/images/nav_register_f2.gif";
faqup = new Image; faqup.src = "templates/PlayStation/images/nav_faq.gif";
faqdown = new Image; faqdown.src = "templates/PlayStation/images/nav_faq_f2.gif";
searchup = new Image; searchup.src = "templates/PlayStation/images/nav_search.gif";
searchdown = new Image; searchdown.src = "templates/PlayStation/images/nav_search_f2.gif";
memberlistup = new Image; memberlistup.src = "templates/PlayStation/images/nav_memberlist.gif";
memberlistdown = new Image; memberlistdown.src = "templates/PlayStation/images/nav_memberlist_f2.gif";
usergroupsup = new Image; usergroupsup.src = "templates/PlayStation/images/nav_usergroups.gif";
usergroupsdown = new Image; usergroupsdown.src = "templates/PlayStation/images/nav_usergroups_f2.gif";
profileup = new Image; profileup.src = "templates/PlayStation/images/nav_profile.gif";
profiledown = new Image; profiledown.src = "templates/PlayStation/images/nav_profile_f2.gif";
pmup = new Image; pmup.src = "{PRIVMSG_IMG}";
pmdown = new Image; pmdown.src = "templates/PlayStation/images/nav_pm_f2.gif";
loginup = new Image; loginup.src = "templates/PlayStation/images/nav_login.gif";
logindown = new Image; logindown.src = "templates/PlayStation/images/nav_login_f2.gif";
logoutup = new Image; logoutup.src = "templates/PlayStation/images/nav_logout.gif";
logoutdown = new Image; logoutdown.src = "templates/PlayStation/images/nav_logout_f2.gif";


function MouseOverRoutine(ButtonName)
{
if (ButtonName=="register"){document.register.src = registerdown.src;}
if (ButtonName=="faq"){document.faq.src = faqdown.src;}
if (ButtonName=="search"){document.search.src = searchdown.src;}
if (ButtonName=="memberlist"){document.memberlist.src = memberlistdown.src;}
if (ButtonName=="usergroups"){document.usergroups.src = usergroupsdown.src;}
if (ButtonName=="profile"){document.profile.src = profiledown.src;}
if (ButtonName=="pm"){document.pm.src = pmdown.src;}
if (ButtonName=="login"){document.login.src = logindown.src;}
if (ButtonName=="logout"){document.logout.src = logoutdown.src;}
}


function MouseOutRoutine(ButtonName)
{
if (ButtonName=="register"){document.register.src = registerup.src;}
if (ButtonName=="faq"){document.faq.src = faqup.src;}
if (ButtonName=="search"){document.search.src = searchup.src;}
if (ButtonName=="memberlist"){document.memberlist.src = memberlistup.src;}
if (ButtonName=="usergroups"){document.usergroups.src = usergroupsup.src;}
if (ButtonName=="profile"){document.profile.src = profileup.src;}
if (ButtonName=="pm"){document.pm.src = pmup.src;}
if (ButtonName=="login"){document.login.src = loginup.src;}
if (ButtonName=="logout"){document.logout.src = logoutup.src;}
}


//-->

</script>	 

<SCRIPT LANGUAGE="Javascript">
var win = null;
function Gk_PopTart(mypage,myname,w,h,scroll)
{
  LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
  TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
  settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=no';
  win = window.open(mypage,myname,settings);
}
</SCRIPT>


</head>
<body bgcolor="{T_BODY_BGCOLOR}" background="templates/PlayStation/images/main_back.gif" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<a name="top"></a>
<br>
<table width="96%" border="0" cellpadding="0" cellspacing="0" bgcolor="#243468">
<tr>
<td align="left" background="http://www.all-around-board.de/templates/PlayStation/images/PlayStation_backround.jpg"><a href="{U_INDEX}"><img src="http://www.all-around-board.de/templates/PlayStation/images/PlayStation_logo.jpg" width="400" height="105" ALT="Back to the index page" border="0"></a></td>
<td align="left" background="http://all-around-board.de/templates/PlayStation/imagesPlayStation_backround.jpg">
<script type="text/javascript"><!--
google_ad_client = "pub-0760697279736840";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "293A70";
google_color_bg = "293A70";
google_color_link = "FFCC00";
google_color_url = "996666";
google_color_text = "FFFFFF";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


</tr>
</tables>

<table width="96%" height="45" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" background="http://www.all-around-board.de/templates/PlayStation/images/table3.jpg"><a href="{U_INDEX}">
<a href="http://www.all-around-board.de/impressum.php" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_faq.gif" align="absmiddle" width="12" height="13" border="0" hspace="3" />Impressum</a>&nbsp;
                  <a href="{U_FAQ}" classs="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_faq.gif" align="absmiddle" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>&nbsp;
                  <a href="{U_SEARCH}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_search.gif" align="absmiddle" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp;
<!-- BEGIN switch_user_logged_in -->
                  <a href="http://www.all-around-board.de/shop.php" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_groups.gif" width="12" align="absmiddle" height="13" border="0" hspace="3" />Shop</a>&nbsp;
<!-- END switch_user_logged_in -->
                  <a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_members.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp;<br>
<br>                  <a href="{U_GROUP_CP}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_groups.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
<!-- BEGIN switch_user_logged_out -->
                  <a href="{U_REGISTER}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_register.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>&nbsp;
<!-- END switch_user_logged_out -->
                  <a href="{U_PROFILE}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_profile.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp;
                  <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_message.gif" width="12" align="absmiddle" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp;
                  <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_login.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;
</a></td>
<s></td>
</td>
</tr>

</tr>
</tables>


<br>


<input type="hidden" name="search_fields" value="all" />
<input type="hidden" name="show_results" value="topics" />
<a href="{U_SEARCH}" class="gensmall">{L_ADVANCED_SEARCH}</a>
</td>
</tr>
</table>
</form> 
</p>

Benutzeravatar
Asmodiel
Mitglied
Beiträge: 568
Registriert: 31.03.2006 14:16
Wohnort: Kassel
Kontaktdaten:

Beitrag von Asmodiel »

such mal nach

Code: Alles auswählen

<a name="top"></a>
<br>
<table width="96%" border="0" cellpadding="0" cellspacing="0" bgcolor="#243468"> 
in deiner datei und mach das <br> raus...also dass es halt danach so aussieht:

Code: Alles auswählen

<a name="top"></a>
<table width="96%" border="0" cellpadding="0" cellspacing="0" bgcolor="#243468"> 
ich hoffe, es funktioniert, bin mir aber nicht sicher...nur halt so auf die schnelle gemacht ;)
gruß!
all-around-board
Mitglied
Beiträge: 758
Registriert: 09.11.2005 00:47
Wohnort: Amberg
Kontaktdaten:

Beitrag von all-around-board »

Ne, des ist die Leerzeile ganz oben, und die will ich ja beibehalten. Die andere Leerzeile°!!! mfG
all-around-board
Mitglied
Beiträge: 758
Registriert: 09.11.2005 00:47
Wohnort: Amberg
Kontaktdaten:

Beitrag von all-around-board »

Hallo,

im Moment schaut mein Header so aus: [ externes Bild ]

Wie kann ich einen Rahmen "RUMZIEHEN", dass es so aussieht (Mit Paint bearbeitet:

[ externes Bild ]

Andere Rahmenfarber wär super! mfG

overall_header.tpl

Code: Alles auswählen

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="http://www.all-around-board.de/templates/PlayStation/PlayStation.css" type="text/css">
<style type="text/css"> 
form { 
margin: 0px; 
padding: 0px; 
} 
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- Start add - Birthday MOD -->
{GREETING_POPUP}
<!-- End add - Birthday MOD -->


<Script>


<!-- 

registerup = new Image; registerup.src = "templates/PlayStation/images/nav_register.gif";
registerdown = new Image; registerdown.src = "templates/PlayStation/images/nav_register_f2.gif";
faqup = new Image; faqup.src = "templates/PlayStation/images/nav_faq.gif";
faqdown = new Image; faqdown.src = "templates/PlayStation/images/nav_faq_f2.gif";
searchup = new Image; searchup.src = "templates/PlayStation/images/nav_search.gif";
searchdown = new Image; searchdown.src = "templates/PlayStation/images/nav_search_f2.gif";
memberlistup = new Image; memberlistup.src = "templates/PlayStation/images/nav_memberlist.gif";
memberlistdown = new Image; memberlistdown.src = "templates/PlayStation/images/nav_memberlist_f2.gif";
usergroupsup = new Image; usergroupsup.src = "templates/PlayStation/images/nav_usergroups.gif";
usergroupsdown = new Image; usergroupsdown.src = "templates/PlayStation/images/nav_usergroups_f2.gif";
profileup = new Image; profileup.src = "templates/PlayStation/images/nav_profile.gif";
profiledown = new Image; profiledown.src = "templates/PlayStation/images/nav_profile_f2.gif";
pmup = new Image; pmup.src = "{PRIVMSG_IMG}";
pmdown = new Image; pmdown.src = "templates/PlayStation/images/nav_pm_f2.gif";
loginup = new Image; loginup.src = "templates/PlayStation/images/nav_login.gif";
logindown = new Image; logindown.src = "templates/PlayStation/images/nav_login_f2.gif";
logoutup = new Image; logoutup.src = "templates/PlayStation/images/nav_logout.gif";
logoutdown = new Image; logoutdown.src = "templates/PlayStation/images/nav_logout_f2.gif";


function MouseOverRoutine(ButtonName)
{
if (ButtonName=="register"){document.register.src = registerdown.src;}
if (ButtonName=="faq"){document.faq.src = faqdown.src;}
if (ButtonName=="search"){document.search.src = searchdown.src;}
if (ButtonName=="memberlist"){document.memberlist.src = memberlistdown.src;}
if (ButtonName=="usergroups"){document.usergroups.src = usergroupsdown.src;}
if (ButtonName=="profile"){document.profile.src = profiledown.src;}
if (ButtonName=="pm"){document.pm.src = pmdown.src;}
if (ButtonName=="login"){document.login.src = logindown.src;}
if (ButtonName=="logout"){document.logout.src = logoutdown.src;}
}


function MouseOutRoutine(ButtonName)
{
if (ButtonName=="register"){document.register.src = registerup.src;}
if (ButtonName=="faq"){document.faq.src = faqup.src;}
if (ButtonName=="search"){document.search.src = searchup.src;}
if (ButtonName=="memberlist"){document.memberlist.src = memberlistup.src;}
if (ButtonName=="usergroups"){document.usergroups.src = usergroupsup.src;}
if (ButtonName=="profile"){document.profile.src = profileup.src;}
if (ButtonName=="pm"){document.pm.src = pmup.src;}
if (ButtonName=="login"){document.login.src = loginup.src;}
if (ButtonName=="logout"){document.logout.src = logoutup.src;}
}


//-->

</script>	 

<SCRIPT LANGUAGE="Javascript">
var win = null;
function Gk_PopTart(mypage,myname,w,h,scroll)
{
  LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
  TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
  settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=no';
  win = window.open(mypage,myname,settings);
}
</SCRIPT>


</head>
<body bgcolor="{T_BODY_BGCOLOR}" background="templates/PlayStation/images/main_back.gif" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<a name="top"></a>
<br>
<table width="96%" border="0" cellpadding="0" cellspacing="0" bgcolor="#243468">
<tr>
<td align="left" background="http://www.all-around-board.de/templates/PlayStation/images/PlayStation_backround.jpg"><a href="{U_INDEX}"><img src="http://www.all-around-board.de/templates/PlayStation/images/PlayStation_logo.jpg" width="400" height="105" ALT="Back to the index page" border="0"></a></td>
<td align="left" background="http://all-around-board.de/templates/PlayStation/imagesPlayStation_backround.jpg">
<script type="text/javascript"><!--
google_ad_client = "pub-0760697279736840";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "293A70";
google_color_bg = "293A70";
google_color_link = "FFCC00";
google_color_url = "996666";
google_color_text = "FFFFFF";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


</tr>
</tables>

<table width="96%" height="45" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" background="http://www.all-around-board.de/templates/PlayStation/images/table3.jpg"><a href="{U_INDEX}">
<a href="http://www.all-around-board.de/impressum.php" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_faq.gif" align="absmiddle" width="12" height="13" border="0" hspace="3" />Impressum</a>&nbsp;
                  <a href="{U_FAQ}" classs="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_faq.gif" align="absmiddle" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>&nbsp;
                  <a href="{U_SEARCH}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_search.gif" align="absmiddle" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp;
<!-- BEGIN switch_user_logged_in -->
                  <a href="http://www.all-around-board.de/shop.php" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_groups.gif" width="12" align="absmiddle" height="13" border="0" hspace="3" />Shop</a>&nbsp;
<!-- END switch_user_logged_in -->
                  <a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_members.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp;<br>
<br>                  <a href="{U_GROUP_CP}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_groups.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
<!-- BEGIN switch_user_logged_out -->
                  <a href="{U_REGISTER}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_register.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>&nbsp;
<!-- END switch_user_logged_out -->
                  <a href="{U_PROFILE}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_profile.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp;
                  <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_message.gif" width="12" align="absmiddle" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp;
                  <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://www.all-around-board.de/templates/PlayStation/images/icon_mini_login.gif" width="12" align="absmiddle" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;
</a></td>
<s></td>
</td>
</tr>

</tr>
</tables>


<br>


<input type="hidden" name="search_fields" value="all" />
<input type="hidden" name="show_results" value="topics" />
<a href="{U_SEARCH}" class="gensmall">{L_ADVANCED_SEARCH}</a>
</td>
</tr>
</table>
</form> 
</p>

Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“