Forum smaller maken

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
Diddie
Berichten: 154
Lid geworden op: 24 sep 2004, 15:00
Contacteer:

Forum smaller maken

Bericht door Diddie » 14 apr 2005, 14:59

kbedoel zoals dit: http://www.spammouse.nl.nu/
in welk bestand moet ik dan iets wijzigen?

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 14 apr 2005, 15:01

overall_header.tpl :)

Coen
Berichten: 5387
Lid geworden op: 03 aug 2004, 10:25

Bericht door Coen » 14 apr 2005, 15:07

En daarin de eerste table tag opzoeken en daarvan de width aanpassen naar de breedte die je wilt. Dit zal alle pagina's resizen naar die breedte, het kan eventueel ook met procenten ( % ). :bier:

Diddie
Berichten: 154
Lid geworden op: 24 sep 2004, 15:00
Contacteer:

Bericht door Diddie » 14 apr 2005, 15:22

Code: Selecteer alles

<TABLE width="85%"  cellspacing="0" cellpadding="0">
  <TR>
    <TD colspan="2" rowspan="2" align="left" background="templates/digiTech/images/head_r1_c4.gif"><A href="{U_INDEX}"><img name="head_r1_c1" src="templates/digiTech/images/head_r1_c1.gif" width="355" height="86" border="0" alt="{L_INDEX}" title="{L_INDEX}"></A></TD>
    <TD width="607" rowspan="2" align="center" valign="bottom" background="templates/digiTech/images/head_r1_c4.gif"><TABLE width="100%" height="27" cellpadding="0" cellspacing="0">
        <TR align="center">
          <TD height="23"><A href="{U_INDEX}"><IMG src="templates/digiTech/images/home.gif" alt="{L_INDEX}" title="{L_INDEX}" width="37" height="11" border="0"></A></TD>
          <TD><A href="{U_FAQ}"><IMG src="templates/digiTech/images/faq.gif" alt="{L_FAQ}" title="{L_FAQ}" width="24" height="11" border="0"></A></TD>
          <TD><A href="{U_SEARCH}"><IMG src="templates/digiTech/images/search.gif" alt="{L_SEARCH}" title="{L_SEARCH}" width="49" height="11" border="0"></A></TD>
          <TD><A href="{U_MEMBERLIST}"><IMG src="templates/digiTech/images/members.gif" alt="{L_MEMBERLIST}" title="{L_MEMBERLIST}" width="58" height="11" border="0"></A></TD>
          <TD><A href="{U_GROUP_CP}"><IMG src="templates/digiTech/images/groups.gif" alt="{L_USERGROUPS}" title="{L_USERGROUPS}" width="49" height="11" border="0"></A></TD>
          <TD><A href="{U_PROFILE}"><IMG src="templates/digiTech/images/profile.gif" alt="{L_PROFILE}" title="{L_PROFILE}" width="48" height="11" border="0"></A></TD>
          <TD><A href="{U_PRIVATEMSGS}"><IMG src="templates/digiTech/images/pm.gif" alt="{L_PRIVATEMSGS}" title="{L_PRIVATEMSGS}" width="29" height="11" border="0"></A></TD>
        </TR>
    </TABLE>
Dit is de eerste table tag, maar dat wilt niet echt vlotten. Suggestie?

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 14 apr 2005, 15:25

geef je hele overall_header.tpl eens? En welke style is het?

Coen
Berichten: 5387
Lid geworden op: 03 aug 2004, 10:25

Bericht door Coen » 14 apr 2005, 15:28

paulus schreef:geef je hele overall_header.tpl eens? En welke style is het?
Gok eens? ;)
<IMG src="templates/digiTech/images/pm.gif">

Diddie
Berichten: 154
Lid geworden op: 24 sep 2004, 15:00
Contacteer:

Bericht door Diddie » 14 apr 2005, 15:46

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/digi-Tech/digi-Tech.css" type="text/css" -->
<style type="text/css">
<!--
/*
  The original digi-Tech Theme for phpBB version 2+
  Created by Digital-Delusion design
  http://www.digital-delusion.com

*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body,td,th {
	font-family: Trebuchet MS, Arial, sans-serif, Verdana;
	font-size: 11px;
	color: #505A49;
}
body {
	background-color: #8B9C7F;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	scrollbar-face-color: #9BAD8D;
	scrollbar-highlight-color: #505A49;
	scrollbar-shadow-color: #505A49;
	scrollbar-3dlight-color: #9BAD8D;
	scrollbar-arrow-color:  #505A49;
	scrollbar-track-color: #8B9C7F;
	scrollbar-darkshadow-color: #9BAD8D;
}

/* General font families for common tags */
font,th,td,p { font-family:  Trebuchet MS, Arial, sans-serif, Verdana }
a:link,a:active,a:visited { color : #505A49; }
a:hover		{ text-decoration: underline; color : #E6EAEB; }
hr	{ height: 0px; border: solid #505A49 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: #9BAD8D; border: 1px #505A49 solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: none; border: 2px #505A49 solid; }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #A5B09D; border: 1px solid #505A49;}
td.row2	{ background-color: #9BAD8D; border: 1px solid #505A49;}
td.row3	{ background-color: #808F74; border: 1px solid #505A49; }

/*
  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};
		}

/* 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/subSilver/images/{T_TH_CLASS2});
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(templates/subSilver/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: #BCC6B5; border: #505A49; 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: "Trebuchet MS", Arial, sans-serif, Verdana;
	text-decoration: none; line-height : 120%; color : #505A49;
}

/* 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: #505A49; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #505A49; 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 : #505A49;  }
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 : #505A49}
a.cattitle		{ text-decoration: none; color : #505A49; }
a.cattitle:hover{ color : #505A49; text-decoration: underline; }

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

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

/* 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 : #505A49; }
a.topictitle:visited { text-decoration: none; color : #505A49; }
a.topictitle:hover	{ text-decoration: underline; color : #E6EAEB; }

/* 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 : #505A49; }

/* The content of the posts (body of text) */
.postbody { font-size : 13px; line-height: 18px; color: #505A49;}
a.postlink:link	{ font-weight: bold; text-decoration: underline; color : #505A49 }
a.postlink:visited { font-weight: bold; text-decoration: underline; color : #505A49; }
a.postlink:hover {  font-weight: bold; text-decoration: none; color : #E6EAEB}

/* Quote & Code blocks */
.code { 
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
	background-color: #BCC6B5; border: #505A49; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Trebuchet MS, Arial, sans-serif, Verdana; font-size: 12px; color: #006600; line-height: 125%;
	background-color: #BCC6B5; border: #505A49; 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: #E6EAEB; text-decoration: underline;}

/* Form elements*/
input,textarea, select {
	font-family: "Trebuchet MS", Arial, sans-serif, Verdana;
	font-size: 12px;
	color: #505A49;
	font-weight: bold;
	background-image: url(templates/digiTech/images/inbg.gif);
	background-repeat: repeat;
	background-color: #8B9C7F;
	border: 1px solid #505A49;
} 

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

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: #8B9C7F; border-style: solid 1px #505A49; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/subSilver/formIE.css"); 

.date {
	color: #A7B1B5;
}
.text {
	font-family: "Trebuchet MS", Arial, sans-serif, Verdana;
	font-size: 10px;
	color: #505A49;
	background-image: url(templates/digiTech/images/inbg.gif);
	background-repeat: repeat;
	border: 1px solid #505A49;
}
.button {
	font-size: 11px;
	font-weight: bold;
	color: #505A49;
	background-image: url(templates/digiTech/images/inbg.gif);
	background-repeat: repeat;
	cursor: hand;
	border: 1px solid #505A49;
}
.heading {
	font-size: 12px;
	font-weight: bold;
	color: #D3DBDE;
}
.heading1 {
	font-size: 12px;
	color: #C5CFD2;
}
.darkfont {
	color: #505A49;
	font-size: 11px;
}
A.darkfont {
	color: #505A49;
	text-decoration: underline;
	}
A.darkfont:hover {
	color: #8B9C7F;
	text-decoration: none;
	}	
A.darkfont:visited {
	color: #505A49;
	text-decoration: none;
	}
A.darkfont:active {
	color: #505A49;
	text-decoration: none;
	}
.darkfontbig {
	font-size: 12px;
	font-weight: bold;
	color: #505A49;
}
.button1 {	font-size: 11px;
	font-weight: bold;
	color: #505A49;
	background-image: url(templates/digiTech/images/inbg.gif);
	background-repeat: repeat;
	cursor: hand;
	border: 1px solid #505A49;
}
.head {
font-size: 12px;
color: #E6EAEB;
font-weight: bold;
background-color: #505A49;
}
-->
</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 -->
</head>
<body>
<TABLE width="100%"  cellspacing="0" cellpadding="0">
  <TR>
    <TD colspan="2" rowspan="2" align="left" background="templates/digiTech/images/head_r1_c4.gif"><A href="{U_INDEX}"><img name="head_r1_c1" src="templates/digiTech/images/head_r1_c1.gif" width="355" height="86" border="0" alt="{L_INDEX}" title="{L_INDEX}"></A></TD>
    <TD width="607" rowspan="2" align="center" valign="bottom" background="templates/digiTech/images/head_r1_c4.gif"><TABLE width="100%" height="27" cellpadding="0" cellspacing="0">
        <TR align="center">
          <TD height="23"><A href="{U_INDEX}"><IMG src="templates/digiTech/images/home.gif" alt="{L_INDEX}" title="{L_INDEX}" width="37" height="11" border="0"></A></TD>
          <TD><A href="{U_FAQ}"><IMG src="templates/digiTech/images/faq.gif" alt="{L_FAQ}" title="{L_FAQ}" width="24" height="11" border="0"></A></TD>
          <TD><A href="{U_SEARCH}"><IMG src="templates/digiTech/images/search.gif" alt="{L_SEARCH}" title="{L_SEARCH}" width="49" height="11" border="0"></A></TD>
          <TD><A href="{U_MEMBERLIST}"><IMG src="templates/digiTech/images/members.gif" alt="{L_MEMBERLIST}" title="{L_MEMBERLIST}" width="58" height="11" border="0"></A></TD>
          <TD><A href="{U_GROUP_CP}"><IMG src="templates/digiTech/images/groups.gif" alt="{L_USERGROUPS}" title="{L_USERGROUPS}" width="49" height="11" border="0"></A></TD>
          <TD><A href="{U_PROFILE}"><IMG src="templates/digiTech/images/profile.gif" alt="{L_PROFILE}" title="{L_PROFILE}" width="48" height="11" border="0"></A></TD>
          <TD><A href="{U_PRIVATEMSGS}"><IMG src="templates/digiTech/images/pm.gif" alt="{L_PRIVATEMSGS}" title="{L_PRIVATEMSGS}" width="29" height="11" border="0"></A></TD>
        </TR>
    </TABLE></TD>
    <TD height="58" align="right" background="templates/digiTech/images/head_r1_c8.gif">&nbsp;</TD>
  </TR>
  <TR>
    <TD width="8" align="right" background="templates/digiTech/images/head_r2_c6.gif"><img name="head_r2_c8" src="templates/digiTech/images/head_r2_c8.gif" width="8" height="28" border="0" alt=""></TD>
  </TR>
  <TR>
    <TD width="354" align="left" background="templates/digiTech/images/head_r3_c2.gif"><img name="head_r3_c1" src="templates/digiTech/images/head_r3_c1.gif" width="10" height="46" border="0" alt=""></TD>
    <TD colspan="2" align="center" valign="middle" background="templates/digiTech/images/head_r3_c2.gif"><TABLE width="100%"  cellspacing="0" cellpadding="0">
        <TR>
          <TD align="right"><TABLE width="67%"  cellspacing="0" cellpadding="3">
              <TR>
                <TD align="right" valign="middle" class="date"> {CURRENT_TIME}&nbsp;&nbsp; </TD>
              </TR>
          </TABLE></TD>
        </TR>
    </TABLE></TD>
    <TD width="8" align="right" background="templates/digiTech/images/head_r3_c2.gif"><img name="head_r3_c8" src="templates/digiTech/images/head_r3_c8.gif" width="8" height="46" border="0" alt=""></TD>
  </TR>
</TABLE>
en yep het is de stijl digitech.

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 14 apr 2005, 15:58

Code: Selecteer alles

<body> 
<TABLE width="100%"  cellspacing="0" cellpadding="0"> 
width waarde van TABLE aanpassen. Digitech is trouwens een van de slechtste gecodeerde templates die ik ooit gezien heb.
... Maar ik modereer (nog) niet.

Diddie
Berichten: 154
Lid geworden op: 24 sep 2004, 15:00
Contacteer:

Bericht door Diddie » 14 apr 2005, 16:01

okeldiokeli, dan zoeken we een ander, chance dat ik nog maar net begonnen was.

Gesloten