pictures not aligned in the middle-newbie

Discussion in 'HTML' started by Cell Phone Repair, Nov 14, 2007.

  1. i am new to the asp programming, thnx for help

    i am trying to do simple edit on my site www.cprauctions.com, i tried to add
    VISA/MC logos as well as authorize.net logo, i aligned them in the center,
    however the AUTHORIZE.NET logo still; shows on the far left

    here is my html of the footer.asp


    <!-- Begin Footer -->
    <div class="clearb"></div>
    <div id="FooterRow1">
    <a href="<%=full_url%>/contact.asp">
    <%=TR("Contact")%></a>&nbsp;&nbsp;|&nbsp;&nbsp;
    <a href="<%=full_url%>/terms.asp"> <%=TR("Terms &
    Conditions")%></a>&nbsp;&nbsp;|&nbsp;&nbsp;
    <a href="<%=full_url%>/privacy.asp"> <%=TR("Privacy
    Policy")%></a>&nbsp;&nbsp;|&nbsp;&nbsp;
    <a href="<%=full_url%>/aboutus.asp"> <%=TR("About
    Us")%></a>&nbsp;&nbsp;|&nbsp;&nbsp;
    <a href="<%=full_url%>/fees.asp"> <%=TR("Fees")%></a>
    </div>

    <div id="FooterRow2">
    <%= TR("Copyright")%>&nbsp;&copy;&nbsp;<%= Year(Auction.CurrentTime())
    %>&nbsp;<%=SiteName%>.&nbsp;<%=TR("All Rights Reserved")%>.
    <%=TR("No part of this web page may be reproduced in any way")%>,
    <%=TR("or by any means, without the prior written permission
    of")%>&nbsp;<%=SiteName%>.
    <p />
    <%
    if ForeignCurrencyEnabled or (bMultiLangDropdown and TranslationEnabled)
    then
    %>
    <form action="<%=request("script_name")%>"
    method="post" id="form2" name="form1">
    <%
    if Request.QueryString <> "" then
    for each oQueryItem in Request.QueryString
    if oQueryItem <> "defaultCurrency" and oQueryItem <>
    "defaultLang" then
    %>
    <input type="hidden" name="<%=oQueryItem%>"
    value="<%=Sanitize(request(oQueryItem))%>" />
    <%
    end if
    next
    end if

    if Request.Form <> "" then
    for each oQueryItem in Request.Form
    if oQueryItem <> "defaultCurrency" and oQueryItem <>
    "defaultLang" and oQueryItem <> "description" then
    %>
    <input type="hidden" name="<%=oQueryItem%>"
    value="<%=Sanitize(request(oQueryItem))%>" />
    <%
    end if
    next
    end if
    if ForeignCurrencyEnabled then
    %>
    <!-- currency selection -->
    <select name="defaultCurrency">
    <%
    for each oCurrency in colCurrList
    Response.Write "<option value="""
    Response.Write oCurrency.CurrencyCode
    Response.Write """"
    if currentCurrency = oCurrency.CurrencyCode then
    Response.Write " selected"
    Response.Write ">("
    Response.Write oCurrency.CurrencyCode
    Response.Write ")</option>"
    next
    %>
    </select>
    <input class="button" type="submit"
    value="<%=TR("switch currency")%>" id="submit1" name="submit1" />
    <%
    end if
    if bMultiLangDropdown and TranslationEnabled then
    %>
    &nbsp;<select name="defaultLang">
    <%
    dim vLangOpt, iLangInd, arrLangList
    arrLangList = split(sLangFileList, "|")

    for iLangInd = 0 to ubound(arrLangList)
    vLangOpt = arrLangList(iLangInd)
    Response.Write "<option value="""
    Response.Write iLangInd
    Response.Write """"
    if currentLang = cstr(iLangInd) then Response.Write "
    selected"
    Response.Write ">"
    Response.Write TR(cstr(vLangOpt))
    Response.Write "</option>"
    next
    %>
    </select>
    <input class="button" type="submit"
    value="<%=TR("switch language")%>" id="submit2" name="submit1" />
    <%
    end if
    %>
    </form>
    <p />
    <%
    end if
    %>

    </div>



    </div>
    </body>

    </html>
    <div align="center">
    <%

    'UTF-8 Compatibility


    %>

    <!-- (c) 2006. Authorize.Net is a registered trademark of Lightbridge,
    Inc. -->
    </div>
    <div class="AuthorizeNetSeal">
    <div align="center">
    <script type="text/javascript" language="javascript">var
    ANS_customer_id="d6f9b071-983f-4cd8-b20a-0b96baad13ed";</script>
    <script type="text/javascript" language="javascript"
    src="//VERIFY.AUTHORIZE.NET/anetseal/seal.js" ></script>
    <a href="http://www.authorize.net/" id="AuthorizeNetText"
    target="_blank">Online Payments-veriefied Authorize.net Merchant</a> </div>
    </div>

    <div align="center">
    <a href="http://www.atmexperts.com"><img alt="ATM" title="ATM"
    src="http://www.credit-card-logos.com/images/multiple_credit-card-logos-2/credit_card_paypal_logos_3.gif"
    width="281" height="40" border="0" /></a>
    Cell Phone Repair, Nov 14, 2007
    #1
    1. Advertising

  2. Cell Phone Repair

    Els Guest

    Cell Phone Repair wrote:

    > i am new to the asp programming, thnx for help
    >
    > i am trying to do simple edit on my site www.cprauctions.com, i tried to add
    > VISA/MC logos as well as authorize.net logo, i aligned them in the center,
    > however the AUTHORIZE.NET logo still; shows on the far left


    That's because you are centering it inside a div that has only 90px
    space for its content:

    div.AuthorizeNetSeal {
    ....
    width:90px;
    }


    > here is my html of the footer.asp


    [snip script/html mix]

    Please don't paste a whole bunch of code, the url is enough.


    --
    Els http://locusmeus.com/
    Els, Nov 14, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric
    Replies:
    10
    Views:
    562
  2. =?Utf-8?B?QmlzaG95?=
    Replies:
    0
    Views:
    981
    =?Utf-8?B?QmlzaG95?=
    Dec 28, 2006
  3. Cell Phone Repair

    pictures not aligned in the middle

    Cell Phone Repair, Nov 14, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    275
    Cell Phone Repair
    Nov 14, 2007
  4. jic
    Replies:
    8
    Views:
    783
    dorayme
    Jan 28, 2010
  5. Martin Raychev
    Replies:
    1
    Views:
    279
    Alvin Bruney [MVP]
    Mar 2, 2004
Loading...

Share This Page