Hello guys,
first of all, thank you for this wonderful mod/hack or whatever you call it :p It just works perfectly.
However, im stuck with ONE small issue:
There is a border around the images...
Now don't think I just saw it and start complaining..I searched this forums and I tried hard to remove it..(for 1h now).
But no matter what I do, there still is that annoying border.
So let me give you the code im using to include cpmfetch, and the CSS code:
<?php
include "./../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./../gallery/cpmfetch/cpmfetch_config.php");
$options = array("imagesize" => "int", "imagelink" => "int", "imageheight" => "145", "imagewidth"=>"190", "imageStyle" => "cpmimage", "alttag"=> "{{pTitle}}", "tablestyle" => "cpmimage");
$objCpm->cpm_viewRandomMediaFrom("",1, 3, $options);
$objCpm->cpm_close();
?>
and the css
.cpmimage{
border: none;
}
a img {
border: none;
}
I tried it all, but nothing seems to work. I hope you can help me out.
PS: Normally, when I add links to my pictures on my website, there is no border (without me doing anything).
Post a link to where you are using it.
OK, I found the problem haha. I just removed an "id=" tag which I thought wouldn't change anything, but then it did :D
anyways, now one last problem: how can I add 1 or 2 extra space between the images?
and thank you nibbler for the fast reply. Very appreciated.
Add some padding. If you want details post a link.
And where should I add paddings? And how to do this...I just use MS Frontpage to realize things I do. So I'm really clueless. Could give me a bit more details please?
And don't want to post a link right now as I'm still building my site and want to keep users away til the "Grand Opening".
But once again, thanks for the quick reply; just could you be a bit more specific? Sorry for being so demanding. Thank You :)
Something like this:
.cpmimage{
padding: 5px;
}
hey, i added the padding to my css under cpmimage, but nothing seems to be changing. there is still the same amount of space between the images, no matter to what value i change it too. what am i doing wrong..?
Can't tell without seeing the code, sorry.
ok so here is my html (with cpmfetch) and css code:
HTML:
<table border="0" cellpadding="0" cellspacing="0" width="630">
<tr>
<td width="14" bgcolor="#EEEEEE"> </td>
<td width="601" bgcolor="#EEEEEE" valign="top">
<p align="center"><?php
include "./../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./../gallery/cpmfetch/cpmfetch_config.php");
$options = array("imagesize" => "int", "imagelink" => "int", "imageheight" => "145", "imagewidth"=>"190", "imageStyle" => "cpmimage", "alttag"=> "{{pTitle}}", "tablestyle" => "cpmimage", "cellstyle" => "cpmimage");
$objCpm->cpm_viewRandomMediaFrom("",1, 3, $options);
$objCpm->cpm_close();
?></td>
<td class="content" width="15" bgcolor="#EEEEEE" valign="top" align="right">
</td>
</tr>
</table>
and my css code:
.cpmimage{
border: none;
padding: 15px;
}
hope this helps and hope you can find the problem. thanks a lot nibbler.
I need the output, not the source.