Page 1 of 1
My Right Block is outside of the table

Posted:
Fri Mar 30, 2007 10:05 pm
Author: helitown
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 MessageNot 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.phpThank you guys.
Re: My Right Block is outside of the table

Posted:
Fri Mar 30, 2007 11:02 pm
Author: Helter
post your overall_header and overall_footer
use the code bbcode and disable html when you post it
Re: My Right Block is outside of the table

Posted:
Sat Mar 31, 2007 9:30 am
Author: helitown
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>
Re: My Right Block is outside of the table

Posted:
Sat Mar 31, 2007 11:52 am
Author: Helter
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>
Re: My Right Block is outside of the table

Posted:
Sat Mar 31, 2007 12:18 pm
Author: .QUACK.Major.Pain
{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.
Re: My Right Block is outside of the table

Posted:
Sat Mar 31, 2007 12:30 pm
Author: .QUACK.Major.Pain
"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.
Re: My Right Block is outside of the table

Posted:
Sat Mar 31, 2007 12:50 pm
Author: Helter
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
Re: My Right Block is outside of the table

Posted:
Sat Mar 31, 2007 12:53 pm
Author: .QUACK.Major.Pain
LOL I tried - hey i'm just a rookie.
Re: My Right Block is outside of the table

Posted:
Sat Mar 31, 2007 1:46 pm
Author: Helter
np..lol I only know that from fixing, or porting a close to 100 overall_headers
Im much better with .tpl than with .php
Re: My Right Block is outside of the table

Posted:
Sat Mar 31, 2007 9:00 pm
Author: helitown
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.phpAnyother hints?
Re: My Right Block is outside of the table

Posted:
Sat Mar 31, 2007 9:45 pm
Author: helitown
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.
Re: My Right Block is outside of the table

Posted:
Sun Apr 01, 2007 12:35 am
Author: Helter
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