My Right Block is outside of the table

Support for the IM Portal Project

Moderator: Integra Moderator

My Right Block is outside of the table

PostAuthor: helitown » Fri Mar 30, 2007 9:05 pm

Your phpBB Version: 2.0.
phpBB Type: phpBB / IMPortal
MODs: No
Your knowledge: Beginner
Board URL: http://www.helitown.com/forum.portal.php

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

Not sure why my right blocks are outside of the white background and the center blocks are not in the center after the 4th block. Can aybody give me a hint? Please see the site here http://www.helitown.com/forum/portal.php
Thank you guys.
Last edited by helitown on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

helitown
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Sat Feb 10, 2007 8:47 am
Cash on hand: 0.00

Re: My Right Block is outside of the table

PostAuthor: Helter » Fri Mar 30, 2007 10:02 pm

post your overall_header and overall_footer

use the code bbcode and disable html when you post it
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: My Right Block is outside of the table

PostAuthor: helitown » Sat Mar 31, 2007 8:30 am

Thanks for the response:

Here my overall-footer codes

Code: Select all
 {PORTAL_TAIL}<td><img></td></tr></table><div><span><br>{ADMIN_LINK}<br><We><a href="http]

Here are header codes

[code]    <DOCTYPE><html><head><meta><meta><meta><meta><meta><META> <Robot><META><META> <META><META><Start><script>var sc_project=1788995; var sc_invisible=1; var sc_partition=16; var sc_security="ebf0b900"; </script>  <script></script><no><a href="http]http://www.subBlue.com[/url]     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/subSilver/images/{T_TH_CLASS3});         background-repeat: repeat-y;}  /* 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 ;)*/.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/subSilver/formIE.css"); --></style><BEGIN><script><if></script><END>  <My><script>function qr_show_hide() {     var id = 'qr_open';     var item = null;       if (document.getElementById) {         item = document.getElementById(id);     }     else if (document.all) {         item = document.all[id];     }     else if (document.layers) {         item = document.layers[id];     }       if (item && item.style) {         if (item.style.display == "none") {             item.style.display = "";         }         else {             item.style.display = "none";         }     }     else if (item) {         item.visibility = "show";     }}</script><My>  </head><body>  <a></a>  <table>     <tr>         <td><table>             <tr>                 <td><a><img></a></td>                 <td><span>{SITENAME}</span><br><span>{SITE_DESCRIPTION}<br>  </span>                 <table>                     <tr>                         <td><span>  <a><img>Home</a>  <a><img>{L_FAQ}</a>  <a><img>{L_SEARCH}</a>   <a><img>{L_MEMBERLIST}</a>   <a><img>{L_USERGROUPS}</a>                          <BEGIN>                          <a><img>{L_REGISTER}</a>                         <END>                         </span></td>                     </tr>                     <tr>                         <td><span> <a><img>Gallery</a>   <a><img>{L_PROFILE}</a>   <a><img>{PRIVATE_MESSAGE_INFO}</a>   <a><img>{L_LOGIN_LOGOUT}</a> </span></td>                     </tr>                 </table></td>             </tr>         </table>           <br>  <table><tr> {PORTAL_HEADER}<td><img></td><td>    
Last edited by helitown on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

helitown
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Sat Feb 10, 2007 8:47 am
Cash on hand: 0.00

Re: My Right Block is outside of the table

PostAuthor: Helter » Sat Mar 31, 2007 10:52 am

it looks like you may have an extra </table>




<body>

<a></a>

<table>
<tr>
<td><table>
<tr>
<td><a><img></a></td>
<td><span>{SITENAME}</span><br><span>{SITE_DESCRIPTION}<br> </span>
<table>
<tr>
<td><span> <a><img>Home</a>
<a><img>{L_FAQ}</a> <a><img>{L_SEARCH}</a> <a><img>{L_MEMBERLIST}</a> <a><img>{L_USERGROUPS}</a>
<BEGIN>
<a><img>{L_REGISTER}</a>
<END>
</span></td>
</tr>
<tr>
<td><span> <a><img>Gallery</a> <a><img>{L_PROFILE}</a> <a><img>{PRIVATE_MESSAGE_INFO}</a> <a><img>{L_LOGIN_LOGOUT}</a> </span></td>
</tr>
</table></td>
</tr>
</table>

<br>

<table>
<tr>
{PORTAL_HEADER}
<td><img></td>
<td>
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: My Right Block is outside of the table

PostAuthor: .QUACK.Major.Pain » Sat Mar 31, 2007 11:18 am

{PORTAL_TAIL}<td><img></td></tr></table>
<div><span><br>{ADMIN_LINK}<br>
<We>
<a href="http]

Your first line of overall-footer has a </table>, should it not be <table> to matchup with the </table> at the bottom?

<br>

[color=red]<table>
<tr>
{PORTAL_HEADER}
<td><img></td>
<td>


At the bottom of the second, you have a <table with no </table> as well as other stuff. Would assume you didn't post the entire file.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: My Right Block is outside of the table

PostAuthor: .QUACK.Major.Pain » Sat Mar 31, 2007 11:30 am

"HelterSkelter";p="23591" wrote:it looks like you may have an extra </table>




<body>

<a></a>

<table>
<tr>
<td> <table>
<tr>
<td><a><img></a></td>
<td><span>{SITENAME}</span><br><span>{SITE_DESCRIPTION}<br> </span>
<table>
<tr>
<td><span> <a href="http] </table>[/color]</td>
</tr>
</table>

<br>

<table>
<tr>
{PORTAL_HEADER}
<td><img></td>
<td>


I think thats ok HelterSkelter, he has 2 <table above to match the 2 </table> but there are 3 <table and only 2 </table> that I could find.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: My Right Block is outside of the table

PostAuthor: Helter » Sat Mar 31, 2007 11:50 am

the first table in the header is closed at the end of the footer. If you remove all the tables one by one, i think you will see what I saw. 1 </table> left over. This is closing the first table befor it is allowed to span to the overall_footer
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: My Right Block is outside of the table

PostAuthor: .QUACK.Major.Pain » Sat Mar 31, 2007 11:53 am

LOL I tried - hey i'm just a rookie.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: My Right Block is outside of the table

PostAuthor: Helter » Sat Mar 31, 2007 12:46 pm

np..lol I only know that from fixing, or porting a close to 100 overall_headers
Im much better with .tpl than with .php
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: My Right Block is outside of the table

PostAuthor: helitown » Sat Mar 31, 2007 8:00 pm

Hmmm...I checked each one of your comment and I don't seem to see any decripancies. Three <table> tags in the header with two </table> tags and then adding one more <table> part of the Portal. Two of the three <table> tags are closed by </table> tags in the header. There are two more <table> tags that are closed by two </table> tags in the footer.

I have a test forum which has exactly same table tags in header and footer and I don't have the problem there. http://www.cambodianforum.com/Testforum/portal.php

Anyother hints?
Last edited by helitown on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

helitown
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Sat Feb 10, 2007 8:47 am
Cash on hand: 0.00

Re: My Right Block is outside of the table

PostAuthor: helitown » Sat Mar 31, 2007 8:45 pm

Hi guys, I found the problem. I had one <table> in one of my center block. That kicked every other blocks out of the table. Thanks for trying.
Last edited by helitown on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

helitown
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Sat Feb 10, 2007 8:47 am
Cash on hand: 0.00

Re: My Right Block is outside of the table

PostAuthor: Helter » Sat Mar 31, 2007 11:35 pm

hmm..I just tried to clean up your html and it seems there is alot missing. Not sure if the forum striped the code, or your header is just really messed up
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3


Return to IM Portal Support Forum

Who is online

Registered users: Bing [Bot], Majestic-12 [Bot]