white space after module

Your suggestions, modifications and corrections regards the documentation. Your help is important.
manuumr
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue May 12, 2009 9:10 am

white space after module

Postby manuumr » Tue May 12, 2009 10:50 am

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

User avatar
muddauber
Joomla! Ace
Joomla! Ace
Posts: 1517
Joined: Thu Jun 08, 2006 11:26 pm

Re: white space after module

Postby muddauber » Tue May 12, 2009 11:04 am

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.

manuumr
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue May 12, 2009 9:10 am

Re: white space after module

Postby manuumr » Tue May 12, 2009 12:03 pm

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

manuumr
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue May 12, 2009 9:10 am

Re: white space after module

Postby manuumr » Tue May 12, 2009 12:27 pm

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..

dink
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed May 13, 2009 11:17 pm

Re: white space after module

Postby dink » Fri May 15, 2009 4:13 am

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


Return to “Suggestions, Modifications & Corrections”

Who is online

Users browsing this forum: No registered users and 3 guests