Ok Vuud.....here is exactly what I have.
My stylesheet for the module is located here: http://largedogbreedz.com/modules/imagestyle.css
The module "mod_randomcpg.php" looks like this originally, which I'm sure you already know:
<?php
/**
* @copyright (C) 2006 EStructure Solutions
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
**/
//begin validation
defined( '_VALID_MOS' ) or die( 'Restricted access' );
//end validation
//begin module parameters
$gallery = $params->get('gallery');
$cpmFetch = $params->get('cpmFetch');
//end module parameters
$options = array('subtitle' => '<font style:"font-size: 8pt;">%t');
echo "<center>";
include $cpmFetch."/cpmfetch.php";
$objCpm = new cpm($gallery);
$objCpm->cpm_viewRandomMedia(1,1, $options);
$objCpm->cpm_close();
echo "</center>";
?>
I added the css style to the $objCpm->cpm_viewRandomMedia(1,1, $options); value so that it looks like this:
<?php
/**
* @copyright (C) 2006 EStructure Solutions
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
**/
//begin validation
defined( '_VALID_MOS' ) or die( 'Restricted access' );
//end validation
//begin module parameters
$gallery = $params->get('gallery');
$cpmFetch = $params->get('cpmFetch');
//end module parameters
$options = array('subtitle' => '<font style:"font-size: 8pt;">%t');
echo "<center>";
include $cpmFetch."/cpmfetch.php";
$objCpm = new cpm($gallery);
$objCpm->cpm_viewRandomMedia(1,1, array("imagestyle" => "test1"));
$objCpm->cpm_close();
echo "</center>";
?>
Still no change in border color. I do not understand why.
From what I can see it is because you still have not told the web browser where the test1 css information can be found. Everything else you have done seems to be correct now.
Go to your page in your favorite or any web brower and do, view source. In the HEAD section (at the top) look for this line. This is a line that tells your browser where to get its css information from.
link href="http://largedogbreedz.com/templates/box_rain_brown/css/template_css.css" rel="stylesheet" type="text/css"
You need to do one of the following:
1) Tell the browser where your code is by adding this sort of line
2) Add your test css information from your file into the one above.
This site has more information than I could type on CSS, if you have questions on it.
http://www.smartwebby.com/web_site_design/css_styles_tutorial.aspOnce you do this (Add recommened #2 for simplicity sake) you should be okay.