Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 9:15 am (All times are UTC )

 




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: white space after module
Posted: Tue May 12, 2009 10:50 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue May 12, 2009 9:10 am
Posts: 3
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


Top
  E-mail  
 
Posted: Tue May 12, 2009 11:04 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 08, 2006 11:26 pm
Posts: 880
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.


Top
  E-mail  
 
Posted: Tue May 12, 2009 12:03 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue May 12, 2009 9:10 am
Posts: 3
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


Top
  E-mail  
 
Posted: Tue May 12, 2009 12:27 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue May 12, 2009 9:10 am
Posts: 3
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..


Top
  E-mail  
 
Posted: Fri May 15, 2009 4:13 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed May 13, 2009 11:17 pm
Posts: 11
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


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group