phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Requesting help, Internet Explorer incompatibility

Goto page 1, 2  Next
 
Search this topic... | Search General Support... | Search Box
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Author Message
Kirbyarm
Board Member



Joined: 08 Feb 2013

Posts: 12



PostPosted: Fri Feb 08, 2013 3:50 pm 
Post subject: Requesting help, Internet Explorer incompatibility

Updated EDIT: Most of the problems you see are likely to have been completed by this point, please refer to the last page to see what the current problem is, and if you feel like helping, I'll be more than grateful!

I've been looking around all over the internet since 10:30 PM last night, for a solution to this problem. It's almost noon here now. Many of the "solutions" offer IF checks or other problems directly aimed at phpBB3. I've *always* used phpBB2, it's what I know, and it's all I care to know in terms of managing my forum the way I want to. Has every truly left 100% customizable phpBB2 for the less customizable phpBB3? Anyways..

So I decided to stop using a free-forum-provider, and go big with a .com name, and so far things are running alright, but some of these smaller little details that are taking me 10+ hours to complete is becoming extremely daunting after HostGator lied to me about being able to transfer my forum (they couldn't get the files, so of course AFTER paying them they went on that I'll basically have to rebuild it myself from scratch with no web design knowledge whatsoever, yay go me).

Image link

I have marked a red horizontal line in the above image. THAT is my problem.

If you take a quick look at the original forum (it is mine, don't worry), you'll see what I'm looking to do, but after over 10+ hours *zero* out of at least 50 solutions have worked and been able to provide what I need. Anyway, as you can see, on the original there is a tiny bit of empty space neatly dividing the forum category tables, so they aren't touching anything. On my new website (no one is able to connect except me, so a link would be useless) there is no space, and there doesn't seem to *want* to be a space no matter what I try.

http://frenz.nstars.org

I created my entire own theme by first modifying subSilver (subFrenz is what I called it), and for some reason, despite all files names being exactly correct, none of the .css files seem to actually "override" or even change anything at all, so I've been forced to deal with index_body.tpl and overall_header.tpl which seems to control the areas I'm working on.

Here is the code I have, if you need anymore code, just tell me where to find it and I'll post it. Thank you for your time in reading. phpBB2 is the best in my opinion, and I hope to become an involved member of this community if it is still somewhat active and helpful.

Yours,
Mackenzie~

EDIT:

Code:
<table class="forumline" padding="7px" border="0" align="center" width="100%" cellpadding="1" cellspacing="1">
  <!-- BEGIN catrow -->
  <!-- BEGIN forumrow -->
  <tr><th colspan="2" nowrap="nowrap" width="100%" height="27px">{catrow.CAT_DESC}</th>&nbsp;<th nowrap="nowrap" width="43">Topics</th>&nbsp;<th nowrap="nowrap" width="37">Posts</th>&nbsp;<th nowrap="nowrap" width="134">Last Post</th>&nbsp;</tr>
  <tr>
   <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="16" height="16" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="97%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
     </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
     </span></td>
   <td class="row2" align="center"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 449
Location: Québec


flag
PostPosted: Fri Feb 08, 2013 4:56 pm 
Post subject: Re: Requesting help, table spacing

Perhaps my eyes are deceiving me, but there doesn't seem to be more than one category on your old forum, so I can't really compare with your screenshot of the new one. But if I'm following, you can probably just add an empty <tr><td></td></tr> before <!-- END forumrow --> and adjust its height with CSS if necessary.

Also I noticed one of your users was asking about installing Java on a Linux OS. You can tell them to look for OpenJDK in the software center, the rest should be child's play.
Back to top
Kirbyarm
Board Member



Joined: 08 Feb 2013

Posts: 12



PostPosted: Fri Feb 08, 2013 5:50 pm 
Post subject: Re: Requesting help, table spacing

Well, you have to register to view the other categories, there's also a staff category, and then admin-only category, but I'll post a screenshot to show you what I'm talking about. I've also realized another problem code on the new website I'm hoping anyone can help with. I'm a rookie java plugin developer, but this HTML is still very confusing for me, it took me several hours to get just a background image to show and display because I can't figure out why my .css file changes nothing, regardless of what I put in there, except sometimes when I try it blocks out the whole website saying "subFrenz.css" with white text and 100% of everything else you see is gray, so I gave up on .css. Anyone wanting to help me get CSS working, that's where MOST of my old site's unique features went and I'm going to have to say goodbye to them unless I find help.

Image link
Image link

EDIT:

Image link
Back to top
Kirbyarm
Board Member



Joined: 08 Feb 2013

Posts: 12



PostPosted: Fri Feb 08, 2013 5:59 pm 
Post subject: Re: Requesting help, table spacing

Salvatos wrote:
and adjust its height with CSS if necessary.


May I please ask you to elaborate on this instruction?
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 628
Location: Spain


flag
PostPosted: Fri Feb 08, 2013 6:21 pm 
Post subject: Re: Requesting help, table spacing

Maybe something like:
Code:
<tr><td style="padding:5px;background-color:red;"></td></tr>

_________________
phpBB2 will never die, I hope!
Back to top
Kirbyarm
Board Member



Joined: 08 Feb 2013

Posts: 12



PostPosted: Fri Feb 08, 2013 6:28 pm 
Post subject: Re: Requesting help, table spacing

dogs and things wrote:
Maybe something like:


Result is:
Image link

I've had this result a few times.. I can't have those borders lingering around, unfortunately. I know it seems really nit-picky, but I thought most of us want quality, professional-looking websites. Thank you for trying. Does anyone else think they'd be able to point me in the right direction here?
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 449
Location: Québec


flag
PostPosted: Fri Feb 08, 2013 6:31 pm 
Post subject: Re: Requesting help, table spacing

The spacing/border thing should be easy then. Instead of this:
Code:
<table class="forumline" padding="7px" border="0" align="center" width="100%" cellpadding="1" cellspacing="1">
  <!-- BEGIN catrow -->
(SNIPPED)
  <!-- END catrow -->
</table>

That should do it, I think:
Code:
<!-- BEGIN catrow -->
  <table class="forumline" padding="7px" border="0" align="center" width="100%" cellpadding="1" cellspacing="1">
(SNIPPED)
  </table>
<!-- END catrow -->

You might need a <br /> or <p /> after that last line for more spacing. <p style="margin-top: 8px;" />, for example.
Edit: After </table>, that is.
Back to top
Kirbyarm
Board Member



Joined: 08 Feb 2013

Posts: 12



PostPosted: Fri Feb 08, 2013 6:39 pm 
Post subject: Re: Requesting help, table spacing

Hmm, well haha that was an amusing result, although completely butchered the website. icon_sad.gif

Image link

As you can see, it added the space, but... >.>

I skipped this step, because I'm assuming with this result, we may need to run back to the drawing board.

"You might need a <br /> or <p /> after that last line for more spacing. <p style="margin-top: 8px;" />, for example. "

EDIT:

index_body.tpl
Code:
<table align="center" width="100%" cellspacing="1" cellpadding="1" align="center">
  <tr>
    <td align="left" valign="bottom"><span class="gensmall">
    <!-- BEGIN switch_user_logged_in -->
    {LAST_VISIT_DATE}<br />
    <!-- END switch_user_logged_in -->
    {CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
    <td align="right" valign="bottom" class="gensmall">
        <!-- BEGIN switch_user_logged_in -->
        <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
        <!-- END switch_user_logged_in -->
        <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
<!-- BEGIN catrow -->
</table><table class="forumline" border="0" align="center" width="100%" cellpadding="1" cellspacing="1">
<tr><th colspan="2" nowrap="nowrap" width="100%" height="27px">{catrow.CAT_DESC}</th>&nbsp;<th nowrap="nowrap" width="43">Topics</th>&nbsp;<th nowrap="nowrap" width="37">Posts</th>&nbsp;<th nowrap="nowrap" width="134">Last Post</th>&nbsp;</tr>
<!-- BEGIN forumrow -->
  <tr>
   <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="16" height="16" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="97%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /></span></td>
   <td class="row2" align="center"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
<!-- END forumrow -->
</table>
<!-- END catrow -->
<table align="center" width="100%" cellspacing="1" cellpadding="1">
  <tr>
   <td align="left">
   <!-- BEGIN switch_user_logged_in -->
      <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
   </td>
   <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>


Perhaps all of the code will help up to that point.
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 449
Location: Québec


flag
PostPosted: Fri Feb 08, 2013 6:43 pm 
Post subject: Re: Requesting help, table spacing

Obviously we don't have the right table here. Can you just post your full code for index_body.tpl and overall_header.tpl (for the new site)? That should make things considerably easier.
And since you have doubts about your uploads, please copy-paste the code directly from your online backend (probably cPanel) rather than your local copy.
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 449
Location: Québec


flag
PostPosted: Fri Feb 08, 2013 6:52 pm 
Post subject: Re: Requesting help, table spacing

I don't have a clean install to test with at the moment, so please try this for index_body. It at least seems to make more sense to me.

Code:
<table align="center" width="100%" cellspacing="1" cellpadding="1" align="center">
  <tr>
    <td align="left" valign="bottom"><span class="gensmall">
    <!-- BEGIN switch_user_logged_in -->
    {LAST_VISIT_DATE}<br />
    <!-- END switch_user_logged_in -->
    {CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
    <td align="right" valign="bottom" class="gensmall">
        <!-- BEGIN switch_user_logged_in -->
        <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
        <!-- END switch_user_logged_in -->
        <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>

<!-- BEGIN catrow -->
<table class="forumline" border="0" align="center" width="100%" cellpadding="1" cellspacing="1">
  <tr>
    <th colspan="2" nowrap="nowrap" width="100%" height="27px">{catrow.CAT_DESC}</th><th nowrap="nowrap" width="43">Topics</th><th nowrap="nowrap" width="37">Posts</th><th nowrap="nowrap" width="134">Last Post</th>
  </tr>
<!-- BEGIN forumrow -->
  <tr>
   <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="16" height="16" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="97%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /></span></td>
   <td class="row2" align="center"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
<!-- END forumrow -->
</table>
<!-- END catrow -->

<table align="center" width="100%" cellspacing="1" cellpadding="1">
  <tr>
   <td align="left">
   <!-- BEGIN switch_user_logged_in -->
      <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
   </td>
   <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>
Back to top
Kirbyarm
Board Member



Joined: 08 Feb 2013

Posts: 12



PostPosted: Fri Feb 08, 2013 7:00 pm 
Post subject: Re: Requesting help, table spacing

Great news! I fixed the 8 white spaces randomly putting a gap between the "yourdomain.com -> Forum Index" and the first category!

And at fully functional condition without the space that I need, the code requested of both files are as follows:

index_body.tpl
Code:
<table align="center" width="100%" cellspacing="1" cellpadding="1" align="center">
  <tr>
    <td align="left" valign="bottom"><span class="gensmall">
    <!-- BEGIN switch_user_logged_in -->
    {LAST_VISIT_DATE}<br />
    <!-- END switch_user_logged_in -->
    {CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
    <td align="right" valign="bottom" class="gensmall">
        <!-- BEGIN switch_user_logged_in -->
        <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
        <!-- END switch_user_logged_in -->
        <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table><table class="forumline" border="0" align="center" width="100%" cellpadding="1" cellspacing="1">
<!-- BEGIN catrow -->
<tr><th colspan="2" nowrap="nowrap" width="100%" height="27px">{catrow.CAT_DESC}</th><th nowrap="nowrap" width="43">Topics</th><th nowrap="nowrap" width="37">Posts</th><th nowrap="nowrap" width="134">Last Post</th></tr>
<!-- BEGIN forumrow -->
  <tr>
   <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="16" height="16" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="97%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /></span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /></span></td>
   <td class="row2" align="center"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
<!-- END forumrow -->
<!-- END catrow -->
    </table>

<table align="center" width="100%" cellspacing="1" cellpadding="1">
  <tr>
   <td align="left">
   <!-- BEGIN switch_user_logged_in -->
      <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
   </td>
   <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>

<table align="center" width="100%" cellpadding="1" cellspacing="1" class="forumline">
  <tr>
  <th colspan="2" nowrap="nowrap" width="100%" height="27px">{L_WHO_IS_ONLINE}</th>
  </tr>
  <tr>
   <td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subFrenz/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
   <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
   </td>
  </tr>
  <tr>
   <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>

<table align="center" width="100%" cellpadding="1" cellspacing="1">
<tr>
   <td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
   <!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
  <table align="center" width="100%" cellpadding="1" cellspacing="1" class="forumline">
   <tr>
     <td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
   </tr>
   <tr>
     <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
      <input class="post" type="text" name="username" size="10" />
      &nbsp;&nbsp;&nbsp;{L_PASSWORD}:
      <input class="post" type="password" name="password" size="10" maxlength="32" />
      <!-- BEGIN switch_allow_autologin -->
      &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
      <input class="text" type="checkbox" name="autologin" />
      <!-- END switch_allow_autologin -->
      &nbsp;&nbsp;&nbsp;
      <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
      </span> </td>
   </tr>
  </table>
</form>
<!-- END switch_user_logged_out -->

<br clear="all" />

<table align="center" cellspacing="1" align="center" cellpadding="1">
  <tr>
   <td width="20" align="center"><img src="templates/subFrenz/images/newposts.jpg" alt="{L_NEW_POSTS}"/></td>
   <td><span class="gensmall">{L_NEW_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center"><img src="templates/subFrenz/images/nonewposts.jpg" alt="{L_NO_NEW_POSTS}" /></td>
   <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center"><img src="templates/subFrenz/images/forumislocked.jpg" alt="{L_FORUM_LOCKED}" /></td>
   <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>


overall_header.tpl
Code:
<!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/subFrenz/{T_HEAD_STYLESHEET}" type="text/css" -->
<style type="text/css">
<!--
/*
  The new subFrenz Theme for phpBB version 2+
  Created by Kirbyarm
  http://www.frenz-server.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-image: url("http://i33.servimg.com/u/f33/17/03/54/84/orebg10.jpg");
   background-attachment: fixed;
   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: #1C1C1C; border: 1px #000000 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};
}

/* 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};
   background-image: url(templates/subFrenz/images/bargreen.png);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
         background-image: url(templates/subFrenz/images/barblue.png);
         background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}

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

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

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

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

/* 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: none; 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/subFrenz/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 -->
</head>
<body background="http://i33.servimg.com/u/f33/17/03/54/84/orebg10.jpg" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<a name="top"></a>

<table width="80%" height="50%" cellspacing="0" cellpadding="10" border="0" align="center">
   <tr>
      <td class="bodyline"><table width="80%" cellspacing="0" cellpadding="0" border="0">
         <tr>
            <td><a href="{U_INDEX}"><img src="templates/subFrenz/images/icon_profile.gif" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
            <td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>
            <table cellspacing="0" cellpadding="2" border="0">
               <tr>
                  <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subFrenz/images/faqs.png" width="120" height="44" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subFrenz/images/search.png" width="120" height="44" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subFrenz/images/members.png" width="120" height="44" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subFrenz/images/groups.png" width="120" height="44" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
                  <!-- BEGIN switch_user_logged_out -->
                  &nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subFrenz/images/register.png" width="120" height="44" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>&nbsp;
                  <!-- END switch_user_logged_out -->
                  </span></td>
               </tr>
               <tr>
                  <td height="40" align="center" valign="top"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subFrenz/images/profile.png" width="120" height="44" border="0" alt="" hspace="0" /></a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subFrenz/images/messages.png" width="120" height="44" border="0" alt="templates/subFrenz/images/messagesnew.gif" hspace="0" /></a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subFrenz/images/logout.png" width="120" height="44" border="0" alt="templates/subFrenz/images/login.png" hspace="0" /></a>&nbsp;</span></td>
               </tr>
            </table></td>
         </tr>
      </table>
Back to top
Kirbyarm
Board Member



Joined: 08 Feb 2013

Posts: 12



PostPosted: Fri Feb 08, 2013 7:03 pm 
Post subject: Re: Requesting help, table spacing

Your last overall code attempt resulted in the page not loading at all with:

Parse error: syntax error, unexpected $end in /home/kirbyarm/public_html/includes/template.php(127) : eval()'d code on line 126

So I reverted to the version I have posted in my last post. Hope this helps. Thank you for your diligence!

EDIT:

I have thought of another solution, but of course I don't know how to execute it.

Why don't we try to duplicate exactly what the old site is doing by inserting
Code:
<img src="http://illiweb.com/fa/empty.gif" alt="" height="5" width="1">
within the catrow and forumrow somehow. Forgive me for not being all-knowing about any of this. icon_sad.gif
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 449
Location: Québec


flag
PostPosted: Fri Feb 08, 2013 7:09 pm 
Post subject: Re: Requesting help, table spacing

Now that's just weird. Can you try this one and post a screenshot of the result while I ponder?

Code:
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr>
   <td align="left" valign="bottom"><span class="gensmall">
   <!-- BEGIN switch_user_logged_in -->
   {LAST_VISIT_DATE}<br />
   <!-- END switch_user_logged_in -->
   {CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
   <td align="right" valign="bottom" class="gensmall">
      <!-- BEGIN switch_user_logged_in -->
      <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
      <!-- END switch_user_logged_in -->
      <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
   <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr>
   <td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
   <td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr>
   <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
     </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
     </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr>
   <td align="left">
   <!-- BEGIN switch_user_logged_in -->
      <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
   <!-- END switch_user_logged_in -->
   </td>
   <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>

<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr>
   <td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  </tr>
  <tr>
   <td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
   <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
   </td>
  </tr>
  <tr>
   <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>

<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
   <td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
   <tr>
     <td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
   </tr>
   <tr>
     <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
      <input class="post" type="text" name="username" size="10" />
      &nbsp;&nbsp;&nbsp;{L_PASSWORD}:
      <input class="post" type="password" name="password" size="10" maxlength="32" />
      <!-- BEGIN switch_allow_autologin -->
      &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
      <input class="text" type="checkbox" name="autologin" />
      <!-- END switch_allow_autologin -->
      &nbsp;&nbsp;&nbsp;
      <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
      </span> </td>
   </tr>
  </table>
</form>
<!-- END switch_user_logged_out -->

<br clear="all" />

<table cellspacing="3" border="0" align="center" cellpadding="0">
  <tr>
   <td width="20" align="center"><img src="templates/subSilver/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
   <td><span class="gensmall">{L_NEW_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center"><img src="templates/subSilver/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
   <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center"><img src="templates/subSilver/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
   <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>
Back to top
Kirbyarm
Board Member



Joined: 08 Feb 2013

Posts: 12



PostPosted: Fri Feb 08, 2013 7:52 pm 
Post subject: Re: Requesting help, table spacing

As requested:

Image link

Thank you for your continued help, you seem to know quite a lot about it, and it's really refreshing to see other people comfortable with phpBB2 and having a community dedicated to the amazing legacy. (:

EDIT:

As you can tell with the above image, I had to do quite a bit of customizing so far to get it the way I like it most, if you compare it to http://frenz.nstars.org
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 449
Location: Québec


flag
PostPosted: Fri Feb 08, 2013 7:59 pm 
Post subject: Re: Requesting help, table spacing

Hm hm...

Well the good news is that the original code works.

The bad news is that the code I offered earlier also works, as demonstrated in the attachment (the only difference being that I added a newline in between the tables for the screenshot but it worked with or without it). Which means there must be something off either with your template.php, or server side (what's your PHP version?). In that second case I don't think I'll be able to do much for you, but you can always post your version of includes/template.php and I'll see if there are any notable differences with the original files.

As a side note, I won't have much more time for this tonight or tomorrow, so you'll have to grit your teeth some more icon_neutral.gif



works.png
 Description:
The code should work like this.
 Filesize:  21.16 KB
 Viewed:  1281 Time(s)

works.png


Back to top
Display posts from previous:   
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Page 1 of 2 All times are GMT - 4 Hours
Goto page 1, 2  Next
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.1271 seconds using 18 queries. (SQL 0.0174 Parse 0.0118 Other 0.0978)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo