Page 2 of 2

Re: how do you centre the whole forum at 740px

Posted: Wed Jan 02, 2008 6:20 am
by spunx
Stylesheet

Code: Select all

/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		subsilver2
	Based on style:	subSilver (the default phpBB 2 style)
	Original author:	subBlue ( http://www.subBlue.com/ )
	Modified by:		psoTFX and the phpBB team ( http://www.phpbb.com )
	
	This is an alternative style for phpBB3 for those wishing to stay with
	the familiar subSilver style of phpBB version 2.x
	
	Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
    --------------------------------------------------------------
*/

/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

body {
   /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
   font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
   color: #323D4F;
   background-color: #000000;
   font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
   margin: 0;
	
}

#wrap {
  width: 740px;
  margin: auto;
  border: 2px solid #FFFFFF;
  background-attachment: fixed;
   background-image: url('images/bg.gif');
}

#wrapheader {
	margin: 5px;
	min-height: 120px;
	height: auto !important;
	height: 130px !important;
	background-image: url('images/bg_header.gif');
	background-repeat: repeat-x;
/*	padding: 0 25px 15px 25px;*/
	padding: 0
}

#wrapcentre {
	margin: 4px 20px 0 20px;
}

#wrapfooter {
	text-align: center;
	clear: both;
}

#wrapnav {
	width: 100%;
	margin: 0;
	background-color: #ECECEC;
	border-width: 1px;
	border-style: solid;
	border-color: #A9B8C2;
}

#logodesc {
	margin-bottom: 4px;
	padding: 5px 20px;
}

#menubar {
	color: white;
	margin: 0 20px;
}

#timebar {
	color: #FFFFFF;
	position: relative;
	margin-top: 10px;
	margin-left: 5px;
	display: block;
	float: left;
	text-align: left;
	white-space: nowrap; /* For Opera */
}

#datebar {
	margin: 10px 20px 0 20px;
}

#findbar {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.back {
	background-color: #FFFFFF;
	background-image: url('images/background.gif');
}

.forumrules {
	background-color: #FCCC79;
	border-width: 1px;
	border-style: solid;
	border-color: #BB9860;
	padding: 4px;
	font-weight: bold;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.forumrules h3 {
	color: red;
}

#pageheader { }
#pagecontent { }
#pagefooter { }

#poll { }
#postrow { }
#postdata { }


/*  Text
 --------------------- */
h1 {
	color: white;
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0;
	color: black;
	font-weight: bold;
}

.rtl p.moderators {
	text-align: right;
}

p.linkmcp {
	margin: 0;
	white-space: nowrap;
	text-align: center;
}

.rtl p.linkmcp {
	text-align: right;
}

p.breadcrumbs {
	margin: 0;
	float: left;
	color: white;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

p.breadcrumbs a {
	margin: 0;
	color: white;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

p.breadcrumbs a:hover {
	text-decoration: underline;
	cursor: pointer;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
}

.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
	margin: 1px 0;
	color: red;
	font-weight:bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
	color: green;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postauthor {
	color: #000000;
	font-size: 1.1em;
}

.postdetails {
	color: #000000;
}

.postbody {
	font-size: 1.3em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	border:1px solid #243C42; background-color: #E0EEFC;
	background-image: url('images/row3.gif');
	padding-left:2px;
	padding-right:2px;
	padding-top:0px;
	padding-bottom:2px
}

.nav {
	margin: 0;
	color: black;
	font-weight: bold;
}

.pagination {
	padding: 4px;
	color: black;
	font-size: 1em;
	font-weight: bold;
}

.cattitle {

}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.copyright {
	color: #444;
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.warn {
	position: relative; top: 4px; left: -10px;
}

a.warn {
	color: #FF0000;
	font-size: 1.1em;
	font-weight: bold;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	text-decoration:none;
}

a.warn:hover {
	color: red;
	text-decoration:none;
	cursor: pointer;
}

.error {
	color: red;
}


/* Tables
 ------------ */
th {
	color: white;
	font-size: 1.1em;
	font-weight: bold;
	background-color: #648C9C;
	background-image: url('images/cellpic3.gif');
	white-space: nowrap;
	padding-left:5px; padding-right:5px; padding-top:7px; padding-bottom:7px
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #67828D;
}

.cat {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0 none;
	background-color: #C7D0D7;
	background-image: url('images/cellpic1.gif');
	text-indent: 4px
}

.row1 {
	background-color: #ECECEC;
	padding: 4px

}

.row1a {
	background-color: #ECECEC;
	padding: 4px
}

.row1a:hover {
	background-color: #DCE1E5;	
}

.row2 {
	background-color: #DCE1E5;
	padding: 4px
}

.row3 {
	background-color: #C0C8D0;
	padding-left:3px; padding-right:3px; padding-top:4px; padding-bottom:2px
}

.spacer {
	background-color: #D6E2EC;
}

.blue {
	border:1px solid #243C42; padding:4px; background-color: #67828D;
	background-image: url('images/cellpic3.gif');
	color: #FFFFFF;
	font-size: 1.0em;
	
}

hr {
	width: 50%;
	height: 1px;
	text-align: left;
	border-width: 0;
	background-color: #017BA8;
	color: #A0BDD4;
}

.legend {
	text-align:center;
	margin: 0 auto;
}

/* Links
 ------------ */
a:link {
	color: #006597;
	text-decoration: none;
}

a:active,
a:visited {
	color: #005784;
	text-decoration: none;
}

a:hover {
	color: #002B41;
	text-decoration: underline;
	cursor: pointer;
}

a.nav {
	color: white;
	text-decoration: none;
}

a.nav:hover {
	color: white;
	text-decoration: underline;
	cursor: pointer;
}

a.forumlink {
	color: #069;
	font-weight: bold;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

a.topictitle {
	margin: 1px 0;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

a.topictitle2 {
	margin: 16px 0px;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
}

a.topictitle:visited {
	color: #016BD4;
	text-decoration: none;
}

a.topictitle:hover {
	text-decoration: underline;
	cursor: pointer;
}

th a,
th a:visited {
	color: #FFFFFF !important;
	text-decoration: none;
}

th a:hover {
	text-decoration: underline;
	cursor: pointer;
}


/* Form Elements
 ------------ */
form {
	margin: 0;
	padding: 0;
	border: 0;
}

input {
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
	border: 1px solid #A9B8C2;
	background-color: #FAFAFA;
}

textarea {
	background-image: url('images/textarea_bg.gif');
	background-repeat:no-repeat;
	background-position: center;
	background-color: #FAFAFA;
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.3em; 
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 2px
}

select {
	color: #333333;
	background-color: #FAFAFA;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 1px;
	cursor: pointer;
}

option {
	padding: 0 1em 0 0;
}

option.disabled-option {
	color: graytext;
}

.rtl option {
	padding: 0 0 0 1em;
}

input.radio {
	border: none;
	background-color: transparent;
	cursor: pointer;
}

.post {
	background-color: white;
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	color: #000000;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	background-color: #EFEFEF;
	border: 1px solid #666666;
}

.btnmain {
	border:1px solid #243C42; background-color: #67828D;
	background-image: url('images/cellpic3.gif');
	color: #FFFFFF;
	font-size: 1.0em;
	font-weight: bold;
	padding: 0
}

.btnmain:hover {
	background-image: url('images/row2.gif');
	color: #000000;
	cursor: pointer
}

.btnlite {
	border:1px solid #243C42; background-color: #67828D;
	background-image: url('images/cellpic3.gif');
	color: #FFFFFF;
	font-size: 1.0em;
	font-weight: bold;
	padding: 0
}

.btnlite:hover {
	background-image: url('images/row3.gif');
	color: #000000;
	cursor: pointer
}

.btnfile {
	font-weight: normal;
	background-color: #ECECEC;
	border: 1px solid #A9B8C2;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: #DEE3E7;
	border-style: none;
}


/* BBCode
 ------------ */
.quotetitle {
	margin: 10px 5px 0px 5px;
	width: 97%;
	padding: 4px;
	border-width: 1px 1px 0px 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: #F7FAFB;
	background-image: url('images/cellpic3.gif');
	background-color: #A9B8C2;
	font-size: 1em;
	font-weight: bold;
}

.attachtitle {
	margin: 10px 5px 0px 5px;
	width: 50%;
	text-align: center;
	padding: 4px;
	border-width: 1px 1px 0px 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: #F7FAFB;
	background-image: url('images/cellpic1.gif');
	background-color: #A9B8C2;
	font-size: 1em;
	font-weight: bold;
}

.quotecontent {
	border-left:1px solid #A9B8C2; border-right:1px solid #A9B8C2; border-top:0px solid #A9B8C2; border-bottom:1px solid #A9B8C2; width: 97%;
	padding: 4px;
	background-image: url('images/row2.gif');
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-color: #EDEDED;
	color: #4B5C77; margin-left:5px; margin-right:5px; margin-top:0px; margin-bottom:10px
}

.attachcontent {
	border-left:1px solid #A9B8C2; border-right:1px solid #A9B8C2; border-top:0px solid #A9B8C2; border-bottom:1px solid #A9B8C2; width: 50%;
	padding: 4px;
	text-align: center;
	background-attachment: fixed;
	background-image: url('images/bg.gif');
	font-weight: normal;
	font-size: 0.85em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-color: #EDEDED;
	color: #4B5C77; margin-left:5px; margin-right:5px; margin-top:0px; margin-bottom:10px
}

.codetitle {
	margin: 10px 5px 0px 5px;
	padding: 4px;
	border-width: 1px 1px 0px 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: #002F41;
	background-image: url('images/row3.gif');
	background-color: #A9B8C2;
	font-size: 1em;
	font-weight: bold;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 4px;
	border-color: #A9B8C2;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #014474;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #F8FBFC;
}

.flashtitle {
	margin: 10px 5px 0px 5px;
	width: 97%;
	padding: 4px;
	border-width: 1px 1px 0px 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: #F7FAFB;
	background-image: url('images/cellpic3.gif');
	background-color: #A9B8C2;
	font-size: 1em;
	font-weight: bold;
}

.flashcontent {
	border:1px solid #A9B8C2; width: 97%;
	padding: 4px;
	background-image: url('images/row2.gif');
	text-align: center;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-color: #EDEDED;
	color: #4B5C77; margin-left:5px; margin-right:5px; margin-top:0px; margin-bottom:10px
}

.syntaxbg {
	color: #F7FAFB;
}

.syntaxcomment {
	color: #0006FF;
}

.syntaxdefault {
	color: #0055BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #000000;
}

.pm_replied_colour {
	background-color: #A9B8C2;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


/* Misc
 ------------ */
img {
	border: none;
}

.sep {
	color: black;
	background-color: #FFA34F;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
	cursor: pointer;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

Re: how do you centre the whole forum at 740px

Posted: Wed Jan 02, 2008 6:27 am
by spunx
Index Body list

Code: Select all

<!-- INCLUDE overall_header.html -->

<!-- IF not S_USER_LOGGED_IN -->

	<form method="post" action="{S_LOGIN_ACTION}">

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
	</tr>
	</table>

	{S_FORM_TOKEN}</form>

<br clear="all" />
<!-- ENDIF -->

<!-- INCLUDE forumlist_body.html -->

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><span class="gensmall"><!-- IF U_MARK_FORUMS --><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a> | <!-- ENDIF --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> | <a href="{U_TEAM}">{L_THE_TEAM}</a></span><!-- ENDIF --><br />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<th colspan="2">{SITENAME}</th>
	</tr>
	<tr>
		<td class="cat" colspan="2"><h4>{L_INFORMATION}</h4></td>
	</tr>
<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST-->
	<tr>
		<td class="row2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/birthdays.gif" alt="{L_BIRTHDAYS}" /></td>
		<td class="row1" width="100%" valign="top"><h4>{L_BIRTHDAYS}</h4><br /><p class="genmed"><img src="{T_THEME_PATH}/images/happy-birthday.png" alt="{L_BIRTHDAYS}" /> <b>{BIRTHDAY_LIST}</b> <img src="{T_THEME_PATH}/images/birthday_cake.gif" alt="{L_BIRTHDAYS}" /></p></td>
	</tr>
<!-- ENDIF -->
<tr>
	<td class="row2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
	<td class="row1" width="100%"><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><br /><span class="genmed">{TOTAL_USERS_ONLINE} :: {LOGGED_IN_USER_LIST}</span></td>
</tr>
<!-- IF LEGEND -->
<tr>
	<td class="row2" colspan="2"><b class="gensmall">{L_LEGEND}: {LEGEND}</b></td>
</tr>
<!-- ENDIF -->
<tr>
	<td class="row2"><img src="{T_THEME_PATH}/images/statistics.gif" alt="{L_STATISTICS}" /></td>
	<td class="row1" width="100%" valign="middle"><h4>{L_STATISTICS}</h4><br /><p class="genmed">{RECORD_USERS}<br />{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
</tr>
</table>
<!-- ENDIF -->

<br clear="all" />

<table class="legend">
<tr>
	<td width="20" align="center">{FORUM_NEW_IMG}</td>
	<td><span class="gensmall">{L_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_IMG}</td>
	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
	<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>

<!-- INCLUDE overall_footer.html -->

Re: how do you centre the whole forum at 740px

Posted: Wed Jan 02, 2008 6:30 am
by spunx
and finally

Forum List_body

Code: Select all

<!-- BEGIN forumrow -->
<!-- IF not forumrow.S_IS_CAT and forumrow.S_FIRST_ROW -->
<table class="tablebg" cellspacing="1" width="100%">
<tr>
              <th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
              <th>&nbsp;{L_TOPICS}&nbsp;</th>
              <th>&nbsp;{L_POSTS}&nbsp;</th>
              <th>&nbsp;{L_LAST_POST}&nbsp;</th>
</tr>
<tr>
      <td class="cat" colspan="5"><h4><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td>
</tr>
  <!-- ENDIF -->
      <!-- IF forumrow.S_IS_CAT -->
      <!-- IF not forumrow.S_FIRST_ROW -->
</table>
<br />

<table class="tablebg" cellspacing="1" width="100%">
<!-- ELSE -->
<table class="tablebg" cellspacing="1" width="100%">
  <!-- ENDIF -->
      <tr>
              <th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
              <th>&nbsp;{L_TOPICS}&nbsp;</th>
              <th>&nbsp;{L_POSTS}&nbsp;</th>
              <th>&nbsp;{L_LAST_POST}&nbsp;</th>
      </tr>

		<tr>
			<td class="cat" colspan="5"><h4><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td>
		</tr>
	<!-- ELSEIF forumrow.S_IS_LINK -->
		<tr>
			<td class="row2" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1a" width="575">
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN};margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<!-- IF forumrow.CLICKS -->
				<td class="row2" width="300" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
			<!-- ELSE -->
				<td class="row2" width="300" colspan="3" align="center">{SITENAME}</td>
			<!-- ENDIF -->
		</tr>
	<!-- ELSE -->
		<!-- IF forumrow.S_NO_CAT -->
			<tr>
				<td class="cat" colspan="5"><h4>{L_FORUM}</h4></td>
			</tr>
		<!-- ENDIF -->
		<tr>
			<td class="row2" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1a">
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN};margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.MODERATORS -->
					<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.SUBFORUMS -->
					<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<td class="row2" width="50" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
			<td class="row2" width="50" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
			<td class="row1a" width="180" align="center" nowrap="nowrap">
				<!-- IF forumrow.LAST_POST_TIME -->
					<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
					<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
						<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
					</p>
				<!-- ELSE -->
					<p class="topicdetails">{L_NO_POSTS}</p>
				<!-- ENDIF -->
			</td>
		</tr>
	<!-- ENDIF -->
<!-- BEGINELSE -->
	<tr>
		<td class="row2" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
	</tr>
<!-- END forumrow -->
</table>

Re: how do you centre the whole forum at 740px

Posted: Wed Jan 02, 2008 6:34 am
by Thatbitextra
Please learn about the code BBCode and use it in future. Thank you.

Re: how do you centre the whole forum at 740px

Posted: Mon Jan 14, 2008 6:02 pm
by spunx
After much grinding of teeth my forum is now back to where it was albeit some tweaks needed to sort out buttons and what not.

Now the real bugbear...external links not opening in new windows.

I don't care about standards. I do care about usability and as it stands users hate it.

I've seen some advice but they are for different styles.

Can anyone help me out with Sniper blue? What do I have to change to make external links open in a new window and save me from being lynched.

Here's my forum by the way.. :lol:

http://www.punk77.co.uk/talkpunk/

Re: how do you centre the whole forum at 740px

Posted: Tue Jan 15, 2008 10:38 pm
by prototech

Re: how do you centre the whole forum at 740px

Posted: Wed Jan 16, 2008 6:11 am
by spunx
Already read through this link and it doesn't help I'm afraid.
First of all, make auto-detected links (those that you didn't wrap with the url-BBCode) open new windows when getting clicked. Therefor open the includes/functions_content.php and look for following line (which should be around line 592):
There is no file called includes/functions_content.php in Sniper Blue

Hence the reason why I'm asking the question :lol:

Re: how do you centre the whole forum at 740px

Posted: Wed Jan 16, 2008 3:07 pm
by prototech
includes/functions_content.php has nothing to do with a style. ;) Go to your forum's directory and then navigate to that file. It's not part of a style.

Re: how do you centre the whole forum at 740px

Posted: Wed Jan 16, 2008 7:48 pm
by spunx
Thanks for that but looking at the mod it ponly works for bb code URLs whereas the PHPbb forum allows users to type/paste in the url which becomes a link and which then doesn't work the same way which I think usability wise is even worse now.