Page 1 of 1

Button with css

Posted: Thu Nov 05, 2009 7:45 am
by avoosh
Good morning. I am trying to make a button that uses css. Below I was able to make one of my website buttons work using css. It works but I would apreciate if someone would look at it and tell me if it written correctly.

Code: Select all

$itemTags['submitButton'] = $form->makeSubmitButton($label = ' Buy It Now »', $params = 'class="submitButtonG"');
I am also trying to make the button below use the save css instead of an image but don't want to use a form. Can someone help me with the button.

Code: Select all

$checkout = $URL->makeHref('checkout.php', '', 'SSL');
        $cartTags['checkout'] = $URL->makeLink($checkout, '<img src="' .
        DIR_WS_SKIN_IMAGES .'button_continue.gif" border="0" alt="Checkout" title="Checkout">');

Thank you for your help.

Re: Button with css

Posted: Thu Nov 05, 2009 9:50 am
by pickle
It looks like you're using an API very few of us would have any experience with.

Also, this isn't security - why post it in the PHP-Security forum? I've moved it to PHP-Code.