table not showing properly

Elegant Joomla template designed especially for both professional and personal website presentation.
GK User
Fri Nov 19, 2010 7:11 am
I'm trying out postnote and so far I'm very happy, but one thing I noticed is that anytime you add a table within a module, it adds cellpadding or cellspacing to the table. Is there a way to stop that? I'm assuming it's pulling from css. I'm adding a few pictures into a multi-cell table that I want no space between the images. Even with border="0" cellpadding="0" cellspacing="0", it still adds padding. Any way to fix this or bypass css for the module so it doesn't add padding to the table? Here's a screenshot of what I mean. thanks
User avatar
Senior Boarder

GK User
Fri Nov 19, 2010 8:51 am
is your page online...

i think you might have forgortten to set the module suffix to the modules...

try add " clear" with out the " " ... remember the space before clear. this should remove paddings around the module.
User avatar
Platinum Boarder

GK User
Fri Nov 19, 2010 10:17 pm
I wish that was the case, I have " clear" in module class suffix (with a space in front of it. I thought it was weird too. I'll put another screenie up. thnx

<table align="left" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><img src="../images/banner2.jpg" alt="Training" border="0" /></td>
</tr>
<tr>
<td><img src="../images/banner2.jpg" alt="Training" border="0" /></td>
</tr>
</tbody>
</table>
User avatar
Senior Boarder

GK User
Fri Nov 19, 2010 10:42 pm
Here's another example, by using a default template module "About me".
Just by adding a 1x1 table around the picture of moofito, it does the same. The module still has " clear" as module class suffix. (I'll put up screen shot of with and without " clear" for you to see the difference. You can test this on your demo site, does it on fresh install.

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/stories/demo/portrait.png" alt="About me" title="About me..." style="float: left; border: 0pt none; margin-right: 20px;" align="left" border="0" /></td>
</tr>
</table>
<div class="about_me">
<h5>About me</h5>
<p>My name is Robert Moofito. <br />I specialize in designing websites and online applications aided by an in-depth knowledge of XHTML, CSS and W3C Standards.</p>
<p>My work has been featured in: <em>Computer Arts</em>, <em>Web Designer, </em><em>Digit</em></p>
</div>
User avatar
Senior Boarder

GK User
Sun Nov 21, 2010 1:42 am
Hi

I recommend that you enable override.css file on template parameters and them add this line on same file:

Code: Select all
.moduletable.clear .moduletable_content table td{padding:0;}


Use same "[space]clear" suffix.

Cheers ;)
User avatar
Platinum Boarder

GK User
Mon Nov 22, 2010 10:02 am
Thanks Seichinha :)
User avatar
Senior Boarder


cron