Community Forums 

Main Content

aesthetics/alignment for a button image

    Mar 13 2016 19:27:18



    Join date : 2008-09-18      Posts : 97

    Below is one of my buttons. I need the absmiddle to align the button with the text. My question is, how can I right justify the button too? I have tried about a dozen different ways, but the right alignment ends up messing up the absmiddle. Thank you.

    <form action=""; method="post">
    <input type="hidden" name="userid" value="B870029">
    <input type="hidden" name="return" value="">;
    Qty: <input type="text" name="qty" size="1" value="1">
    <input type="hidden" name="price" value="8.00">
    <input type="hidden" name="product" value="Hotline Air-Dry Release - 8oz">
    <input type="image" src="images/off_buttonATC.png" alt="Submit" align="absmiddle">

    Howaco Glass Supply Co

    Mar 14 2016 08:51:47



    Join date : 2008-09-18      Posts : 418


    Mar 14 2016 11:07:40



    Join date : 2008-09-18      Posts : 499

    Geoff said style="float:right;"

    Nice one, handy to know.

    Please either Share or Like my Facebook

    Mar 14 2016 17:13:26



    Join date : 2008-09-18      Posts : 97

    Geoff said style="float:right;"

    Thank you so very much, works like a charm. I don't know why all the other ones I tried over road my absmiddle, but this works great, thank you!

    Howaco Glass Supply Co