Jump to content

bad css/html


cpugeek
 Share

Recommended Posts

ok, on one of my websites i'm rearranging the checkout and i'm all done except for i cant get two buttons to line up.If someone could look at it and tell me what i'm doing wrong, or how i can fix it, it would be very appreciated.to see an example of what i'm talking about.1. go here.2. add something to the cart3. check the cart4. continue to checkoutthen you should be able to see the buttons i'm talking about.also here's a screenshot.post-6055-1218051019_thumb.jpgjust to clarify i want all 3 buttons to line up in a row with the 'continue shopping' button on the left side of the screenand the 'modify order' and 'checkout' button on the right side of the screen.any and all help is appreciated.thank you in advance.:]

Link to comment
Share on other sites

<table class="checkoutButtonTable checkoutPaymentOptions" width="100%"><tbody><tr><td align="left"><form method="post" action="main.php"><input type="submit" style="font-weight: bold;" value="Continue shopping" name="g2_form[action][continueshopping]"/></form></td><td class="checkoutPaymentButtons" align="right"><form method="post" action="main.php"><input type="hidden" value="" name="g2_returnName"/><input type="hidden" value="x9dba2629" name="g2_navId"/><input type="hidden" value="/main.php?g2_view=checkout.ConfirmPhotos&g2_statusId=x7849e5eb&g2_navId=x9dba2629" name="g2_formUrl"/><input type="hidden" value="669ce75d88ec" name="g2_authToken"/><input type="hidden" value="checkout.Confirm" name="g2_controller"/><input type="hidden" value="" name="g2_form[formName]"/><input class="inputTypeSubmit checkoutButton" type="hidden" value="/main.php?" name="g2_form[returnUrl]"/><input type="submit" value="Modify Order" name="g2_form[action][modify]" style="font-weight: bold;"/></form><form method="post" action="https:///cgi-bin/webscr"><input type="hidden" value="_cart" name="cmd"/><input type="hidden" value="2" name="rm"/><input type="hidden" value="http://gallery.picsbypros.com/main.php?g2_view=checkoutpaypal.PaymentComplete" name="return"/><input type="hidden" value="http://gallery.picsbypros.com/main.php?g2_view=checkoutpaypal.PaymentCancelled" name="cancel_return"/><input type="hidden" value="http://gallery.picsbypros.com/main.php?g2_view=checkoutpaypal.IPN" name="notify_url"/><input type="hidden" value="1" name="upload"/><input type="hidden" value="2" name="no_shipping"/><input type="hidden" value="" name="business"/><input type="hidden" value="" name="currency_code"/><input type="hidden" value="" name="invoice"/><input type="hidden" value="en_US" name="lc"/><input type="submit" alt="Pay with PayPal" style="font-weight: bold;" value="Checkout" name="submit"/></form></td></tr></tbody></table>

Try putting the buttons you want to line up in two different table cells.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...