Index: payment/uc_credit/uc_credit.css
===================================================================
--- payment/uc_credit/uc_credit.css	(revision )
+++ payment/uc_credit/uc_credit.css	(revision )
@@ -0,0 +1,11 @@
+/**
+ * @file
+ * Styles for uc_credit module.
+ */
+img.uc-credit-cctype {
+  position: relative;
+  top: 5px;
+}
+.card-details {
+  display: none;
+}
\ No newline at end of file
Index: payment/uc_credit/uc_credit.module
===================================================================
--- payment/uc_credit/uc_credit.module	(date 1316289817000)
+++ payment/uc_credit/uc_credit.module	(revision )
@@ -345,7 +345,7 @@
   $cc_types = array('visa', 'mastercard', 'discover', 'amex');
   foreach ($cc_types as $type) {
     if (variable_get('uc_credit_' . $type, TRUE)) {
-      $title .= ' <img class="uc-credit-cctype uc-credit-cctype-' . $type . '" src="' . $path . '/images/' . $type . '.gif" style="position: relative; top: 5px;" />';
+      $title .= ' <img class="uc-credit-cctype uc-credit-cctype-' . $type . '" src="' . $path . '/images/' . $type . '.gif" />';
     }
   }
   $methods['credit'] = array(
@@ -546,7 +546,7 @@
         }
 
         $build['cc_info'] = array(
-          '#prefix' => '<a href="#" onclick="jQuery(this).hide().next().show();">' . t('Show card details') . '</a><div style="display: none;">',
+          '#prefix' => '<a href="#" onclick="jQuery(this).hide().next().show();">' . t('Show card details') . '</a><div class="card-details">',
           '#markup' => implode('<br />', $rows),
           '#suffix' => '</div>',
         );
