Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > pictures not aligned in the middle-newbie

Reply
Thread Tools

pictures not aligned in the middle-newbie

 
 
Cell Phone Repair
Guest
Posts: n/a
 
      11-14-2007
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>






 
Reply With Quote
 
 
 
 
Els
Guest
Posts: n/a
 
      11-14-2007
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/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tables are not aligned to the correct line jic HTML 8 01-28-2010 07:59 AM
pictures not aligned in the middle Cell Phone Repair ASP .Net 0 11-14-2007 02:23 PM
Dynamic Menu Items is not right aligned with Right to Left documen =?Utf-8?B?QmlzaG95?= ASP .Net 0 12-28-2006 11:39 AM
bitcounting on 30000+ bits, but not byte aligned Eric C++ 10 06-27-2004 06:58 AM
Photos not aligned BooBoo Digital Photography 11 02-20-2004 06:02 PM



Advertisments