I have a sidebox which contains only an image. I would like the image to be centered within the box, but cannot figure out how to do it. My site is http://www.createdbygayle.com/zencart/ and the sidebox in question is the one that says "We Accept".
I tried to fix it in the stylesheet, but only ended up centering the text in other boxes. My sidebox files are:
creditcard_sidebox.php:
<?php
$show_creditcard_sidebox = true;
if ($show_creditcard_sidebox == true){
require($template->get_template_dir('tpl_creditcard_sidebox.php',DIR_WS_TEMPLATE,
$current_page_base,'sideboxes'). '/tpl_creditcard_sidebox.php');
$title = BOX_HEADING_CREDITCARD_SIDEBOX;
$left_corner = false;
$right_corner = false;
$right_arrow = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE,
$current_page_base,'common') . '/' . $column_box_default);
}
?>
tpl_creditcard_sidebox.php:
<?php
$content =
'<img src="images/CC-logos.gif" align="center">';
?>
and creditcard_sidebox_defines.php:
<?php
define('BOX_HEADING_CREDITCARD_SIDEBOX', 'We Accept');
?>
Can anyone help me with the correct coding to fix this? I'm sure it is a simple thing, but I am baffled! Thank you!
Laura



.
