| Author |
Message |
Kenshino |
|
Post subject: techhost problem (something to do with cell padding?)
Posted: Oct 05, 2004 - 03:23 PM
|
|
Joined: Oct 05, 2004
Posts: 37
Status: Offline
|
|
I'm using a module called NukeWrapper with Techhost as theme and PostNuke 0.726.
It wraps HTML/PHP pages into Postnuke.
This is one of the pages.
http://202.91.37.2/~kenshino/postnuke/w ... istory.php
Notice the right side of the article touches the right block?
I need help fixing that =(
I was told by the person who did the Module that it is a theme problem.
Below is a quote of what he said.
Quote:
It's a theme-thingy. The theme designer hasn't provide padding for the center, but [robably put it around the center News blocks. For instance, if you click on Downloads, you see the same thing, except it hasn't got the Right blocks showing. Presumably the fix is as simple as adding padding to the OpenTable function, not oo sure about AutoTheme. I'll download it and see.
|
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 05, 2004 - 03:58 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| Create a custom module for it in Autotheme admin and set it to use theme2.html |
|
|
| |
|
|
|
 |
Kenshino |
|
Post subject:
Posted: Oct 05, 2004 - 04:20 PM
|
|
Joined: Oct 05, 2004
Posts: 37
Status: Offline
|
|
I did, but if I use theme2.html, the right blocks disappear.
I want them to stay.
If I use theme.html, the right block stays but gets messed up.
What do I do? |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 05, 2004 - 06:23 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
Are you putting this code in a center block?
If so open centerblock.html and shrink the table size down. |
|
|
| |
|
|
|
 |
Kenshino |
|
Post subject:
Posted: Oct 05, 2004 - 11:21 PM
|
|
Joined: Oct 05, 2004
Posts: 37
Status: Offline
|
|
I tried to do it but still it does not work
I shrank every thing that was related to the width with a percentage.
Have a look
Code:
<table width="300" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width=90% border=0 cellpadding=0 cellspacing=0>
<tr>
<td><img src="{image-path}techhostcenter_01.jpg" width=30 height=25 alt=""></td>
<td background="{image-path}techhostcenter_02.jpg" width=90% height=25 alt="">
<!-- [block-title] -->
</td>
<td><img src="{image-path}techhostcenter_03.jpg" width=10 height=25 alt=""></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width=90% border=0 cellpadding=0 cellspacing=0>
<tr>
<td background="{image-path}techhostcenter_04.jpg" width=8></td>
<td bgcolor="#FFFFFF" align="center" valign="top">
<!-- [block-content] -->
</td>
<td background="{image-path}techhostcenter_06.jpg" width=10></td>
</tr>
<tr>
<td> <img src="{image-path}techhostcenter_07.jpg" width=8 height=9 alt=""></td>
<td background="{image-path}techhostcenter_08.jpg" width=90% height=9 alt=""></td>
<td> <img src="{image-path}techhostcenter_09.jpg" width=10 height=9 alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
|
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 05, 2004 - 11:59 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
Can you post the code from that program then?
Everything you have done in the theme pretty much clears the theme from being the problem. |
|
|
| |
|
|
|
 |
Kenshino |
|
Post subject:
Posted: Oct 06, 2004 - 01:14 PM
|
|
Joined: Oct 05, 2004
Posts: 37
Status: Offline
|
|
The module coder has taught me how to solve the problem.
It worked for me.
Just for anyone else who might meet the same problem...
theme.html: Section under the header, til the end
Code:
<TABLE WIDTH="802" BORDER="0" CELLPADDING="0" CELLSPACING="0" align="center">
<TR>
<TD id="LeftCol" style="width: 175px; background: url('{image-path}techhost_07.jpg'); padding-top: 15px;" valign="TOP">
<!-- [left-blocks] -->
</TD>
<TD id="CenterCol" style="width: 614px; text-align: left; padding: 15px 5px 15px 5px;" valign="top">
<!-- [center-blocks] --><br>
<!-- [modules] -->
</td>
<td id="RightCol" style="width: 140px; text-align:left; padding: 15px 5px 15px 0px; border-right: 1px solid #565656;" valign="top">
<!-- [right-blocks] -->
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
theme2.html, same as above, section under the Head, til the end:
Code:
<TABLE WIDTH=802 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center" height="100%">
<TR>
<TD id="LeftCol" style="width: 175px; background: url('{image-path}techhost_07.jpg'); padding-top: 15px;" valign="TOP">
<!-- [left-blocks] -->
</TD>
<TD id="CenterCol" style="width: 614px; text-align: left; padding: 15px 15px 15px 5px; border-right: 1px solid #565656;" valign="TOP" align="CENTER">
<!-- [modules] -->
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
|
|
|
| |
|
|
|
 |
|
|