centreren van logo

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
supermario
Berichten: 60
Lid geworden op: 07 dec 2002, 19:54
Contacteer:

centreren van logo

Bericht door supermario » 07 apr 2003, 14:19

Code: Selecteer alles

<!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="templates/plus/{T_HEAD_STYLESHEET}" type="text/css" -->
<style type="text/css">
<!--
/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body { 
	background-color: {T_BODY_BGCOLOR};
	scrollbar-face-color: {T_TR_COLOR2};
	scrollbar-highlight-color: {T_TD_COLOR2};
	scrollbar-shadow-color: {T_TR_COLOR2};
	scrollbar-3dlight-color: {T_TR_COLOR3};
	scrollbar-arrow-color:  {T_BODY_LINK};
	scrollbar-track-color: {T_TR_COLOR1};
	scrollbar-darkshadow-color: {T_TH_COLOR1};
}

/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : {T_BODY_LINK}; }
a:hover		{ text-decoration: underline; color : {T_BODY_HLINK}; }
hr	{ height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: {T_TD_COLOR2}; border: 1px {T_TH_COLOR1} solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: {T_TR_COLOR1}; }
td.row2	{ background-color: {T_TR_COLOR2}; }
td.row3	{ background-color: {T_TR_COLOR3}; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: {T_TD_COLOR2};
		background-image: url(templates/plus/images/{T_TH_CLASS3});
		background-repeat: repeat;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold; 
	background-color: {T_BODY_LINK}; height: 25px;
	background-image: url(templates/plus/images/{T_TH_CLASS2});
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(templates/plus/images/{T_TH_CLASS1});
			background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
	background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}

th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle	{
	font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
	text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}

/* New Messages */ 
.pm	{ font-size: 11px; text-decoration: none; font-weight: bold; color: {T_FONTCOLOR1}; }

/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: {T_BODY_HLINK}; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu		{ text-decoration: none; color : {T_BODY_LINK};  }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle		{ text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink 	{ text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav			{ text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover		{ text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2	{ font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover	{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }

/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link	{ text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}

/* Quote & Code blocks */
.code { 
	font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
	background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
	background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright		{ font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright		{ color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}

/* Form elements */
input,textarea, select {
	color : {T_BODY_TEXT};
	font: normal {T_FONTSIZE2}px {T_FONTFACE1};
	border-color : {T_BODY_TEXT};
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : {T_TD_COLOR2};
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : {T_TR_COLOR1};
	color : {T_BODY_TEXT};
	font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}

/* The main submit button option */
input.mainoption {
	background-color : {T_TD_COLOR1};
	font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
	background-color : {T_TD_COLOR1};
	font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/plus/formIE.css"); 
-->
</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 -->
<!-- BEGIN switch_enable_greeting_popup --> 
<script language="Javascript" type="text/javascript"> 
<!-- 
   var greeting_flag = {GREETING_FLAG}; 

   if( greeting_flag ) 
   { 
      window.open('{U_GREETING_POPUP}', '_phpbbgreeting', 'HEIGHT=225,resizable=yes,WIDTH=400'); 
   } 
//--> 
</script> 
<!-- END switch_enable_greeting_popup -->
</head>


<script language="Javascript" type="text/javascript">
<!--
function pdz_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.pdz_p) d.pdz_p=new Array();
    var i,j=d.pdz_p.length,a=pdz_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.pdz_p[j]=new Image; d.pdz_p[j++].src=a[i];}}
}

function pdz_swapImgRestore() { //v3.0
  var i,x,a=document.pdz_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function pdz_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=pdz_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function pdz_swapImage() { //v3.0
  var i,j=0,x,a=pdz_swapImage.arguments; document.pdz_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=pdz_findObj(a[i]))!=null){document.pdz_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>


<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" 
	  onLoad="pdz_preloadImages('{MENU_IMAGE_FAQ_RO}',
							 	'{MENU_IMAGE_SEARCH_RO}',
								'{MENU_IMAGE_MEMBERLIST_RO}',
								'{MENU_IMAGE_USERGROUPS_RO}',
								'{MENU_IMAGE_REGISTER_RO}',
								'{MENU_IMAGE_PROFILE_RO}',
								'{MENU_IMAGE_MESSAGES_RO}',
								'{MENU_IMAGE_STATISTICS_RO}',
								'{MENU_IMAGE_LOGIN_LOGOUT_RO}')" />

<a name="top"></a>

<table align="center">
<tr>
<td><a href="http://www.mjdsl.nl" target="_blank"><img src="http://www.funnyforums.nl/mjdsl.gif" width="468" height="60"></td>
</tr></table>

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center"> 
	<tr> 
		<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr> 

<td><img src="templates/plus/images/logo_phpBB.gif" align="center" alt="Funny forums" >
</td>
<td align="center" width="100%" valign="middle"> 
<table cellspacing="0" cellpadding="2" border="0">
<tr> 
<td align="center" valign="top" nowrap="nowrap">
<!-- BEGIN switch_user_logged_out -->
<!-- END switch_user_logged_out -->
</td>
</tr>


<p></p>
<p></p>

</table></td>
</tr>
</table>

		<br />
 <map name="logo_phpBB">
<area shape="rect" coords="0,79,34,102" href="http://www.funnyforums.nl/forum/faq.php" title="">
<area shape="rect" coords="42,79,96,102" href="http://www.funnyforums.nl/forum/search.php" title="">
<area shape="rect" coords="106,79,168,102" href="http://www.funnyforums.nl/forum/memberlist.php" title="">
<area shape="rect" coords="181,79,241,102" href="http://www.funnyforums.nl/forum/groupcp.php" title="">
<area shape="rect" coords="254,79,323,102" href="http://www.funnyforums.nl/forum/profile.php?mode=register" title="">
<area shape="rect" coords="335,79,385,102" href="http://www.funnyforums.nl/forum/profile.php?mode=editprofile" title="">
<area shape="rect" coords="394,79,463,102" href="http://www.funnyforums.nl/forum/privmsg.php?folder=inbox" title="">
<area shape="rect" coords="473,79,606,102" href="http://www.funnyforums.nl/forum/kalender.htm" target="_blank" title="">
<area shape="rect" coords="618,79,697,102" href="http://www.funnyforums.nl/forum/statistics.php" title="">
<area shape="rect" href="http://www.funnyforums.nl/forum/" coords="0,0,702,102">
</map>
bovenstaande is dus de overall_header

ennuh.. waar moet ik nou iets veranderen om dat tweede logo (logo_phpBB.gif) in het midden gecentreerd te krijgen ???
want zoalstie nu staat staattie links gecentreerd (zie http://www.funnyforums.nl )
en hij moet gewoon in het midden komen :)
Gr. Mario

Gebruikersavatar
DaMnNaTiOn
Berichten: 2555
Lid geworden op: 11 dec 2002, 18:29
Locatie: localhost
Contacteer:

Bericht door DaMnNaTiOn » 07 apr 2003, 14:58

<center><img src="plaatje_url"></center> :lol: :wink:
lastmodified.net

Gebruikersavatar
FlorisD
Berichten: 1595
Lid geworden op: 12 nov 2002, 21:06
Locatie: Vijfhuizen
Contacteer:

Bericht door FlorisD » 07 apr 2003, 17:08

DaMnNaTiOn schreef:<center><img src="plaatje_url"></center> :lol: :wink:
Of om het meer in de stijl van PhpBB te houden:

<div align="center"><img src="plaatje.ext"></div>

:wink:
MessageBoard.nl, gratis phpBB forum hosting

supermario
Berichten: 60
Lid geworden op: 07 dec 2002, 19:54
Contacteer:

Bericht door supermario » 07 apr 2003, 22:08

euhmmm jah.. dat dacht ik ook ! ;)

maaruh.. dat werkt alleen niet :S

supermario
Berichten: 60
Lid geworden op: 07 dec 2002, 19:54
Contacteer:

Bericht door supermario » 07 apr 2003, 23:07

heb het al opgelost..
dus deze kan dicht ! ;)

ty

Gebruikersavatar
MaFKeeZ
Berichten: 353
Lid geworden op: 27 mar 2003, 11:11

Bericht door MaFKeeZ » 07 apr 2003, 23:13

supermario schreef:heb het al opgelost..
dus deze kan dicht ! ;)

ty
heeft geen zin om te zeggen dat ie dicht kan, gebeurd toch niet.. admin komt hier nooit :shock:

Gebruikersavatar
superman5000
Berichten: 741
Lid geworden op: 05 nov 2003, 09:51
Locatie: breda
Contacteer:

Bericht door superman5000 » 04 feb 2004, 18:00

hey,

beetje oude topic maarja.
ik wil dit ook maar het lukt heel de tijd niet.
hier mijn code.

Code: Selecteer alles

<td><a href="{U_INDEX}"><img src="templates/subSilver/images/logo_phpBB.gif" border="5" bordercolor="#6793F9" alt="{L_INDEX}" vspace="1"/></a></td>
alvast bedankt.

grz. superman

Gebruikersavatar
LazyTiger
Berichten: 2000
Lid geworden op: 21 okt 2003, 18:21

Bericht door LazyTiger » 04 feb 2004, 19:31

in die code die je daar had verander:

Code: Selecteer alles

<td>
naaar:

Code: Selecteer alles

<td align="center">

Gebruikersavatar
superman5000
Berichten: 741
Lid geworden op: 05 nov 2003, 09:51
Locatie: breda
Contacteer:

Bericht door superman5000 » 04 feb 2004, 19:53

TXN :thumb: :thumb:

Gesloten