Page 1 of 1

white space after module

Posted: Tue May 12, 2009 10:50 am
by manuumr
Hi
MODULE: i've created one module containing image. that module should be fit inside <td>. after each module it taking extra space more than <td> height .i.e shown as yellow color.... image height is less than td height.. i am using Editor-J.C.E 1.5.0... does module take extra white space by default..? can anybody help ..?
Image

Re: white space after module

Posted: Tue May 12, 2009 11:04 am
by muddauber
Generally a custom mod will just take up
the space assigned. You need to set the
alignment of image correctly and see what
the default background of your table is assigned.

Align image in table to TOP.

Don't know of any specific problems with
JCE, but I have had to juggle that problem
before.

You are using CUSTOM HTML Page module, correct?
If you used something like a copy of random image,
then you have that module's parameters to deal with.

Re: white space after module

Posted: Tue May 12, 2009 12:03 pm
by manuumr
This is my code :
<table width="100%" align="center" cellspacing="0px" cellpadding="0px" valign="bottom" border="0px">
<tr>
<td width="68%" height="100%" valign="top" align="left" bgcolor="#54CF11"><jdoc:include type="modules" name="banner" style="xhtml"/>
</td>
<td width="32%" height="100%" valign="top" align="left" >
<table height="100%" width="100%" valign="top" align="center" cellspacing="0px" cellpadding="0px" bgcolor="cyan" border="0px">
<tr>
<td align="center" bgcolor=red><jdoc:include type="modules" name="banner_rpt_logo" style="xhtml"/>
</td>
</tr>
<tr>
<td align="center" bgcolor=yellow><jdoc:include type="modules" name="banner_rpt_news" style="xhtml"/>
</td>
</tr>
</table>
</table>



had tried all the suggestions above.
still not working. flow of table is::: <td green> banner </td><td><table><tr red>logo<tr><tr yellow>news bar</tr></table></td>
the error image is:
Image

Re: white space after module

Posted: Tue May 12, 2009 12:27 pm
by manuumr
On removing "banner_rpt_logo" module .. the output page is below .. Image
i.e still it is taking extra GREEN space n RED space in the browser..

Re: white space after module

Posted: Fri May 15, 2009 4:13 am
by dink
try closing the </td></tr>
It appears you closed the nested table correctly but forgot to close the <td><tr> from the un-nested table.
<table width="100%" align="center" cellspacing="0px" cellpadding="0px" valign="bottom" border="0px">
<tr>
<td width="68%" height="100%" valign="top" align="left" bgcolor="#54CF11"><jdoc:include type="modules" name="banner" style="xhtml"/>
</td>
<td width="32%" height="100%" valign="top" align="left" >
<table height="100%" width="100%" valign="top" align="center" cellspacing="0px" cellpadding="0px" bgcolor="cyan" border="0px">
<tr>
<td align="center" bgcolor=red><jdoc:include type="modules" name="banner_rpt_logo" style="xhtml"/>
</td>
</tr>
<tr>
<td align="center" bgcolor=yellow><jdoc:include type="modules" name="banner_rpt_news" style="xhtml"/>
</td>
</tr>
</table>
CLOSE FROM FIRST TABLE
</td></tr>
</table>

Hope that helps some.
dink