Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need help with the code


sinryder

Recommended Posts

i have this in my footer

 

Code:

 

<div id="foot">

<a href="./.">Home</font></a> |

<a href="/specials.php">On Sale</a> |

<a href="/all_products.php">Show All Products</a> |

<a href="/products_new.php">New Arrivals</a> |

<a href="/sitemap.php">Site Map</a>

</div>

 

 

 

This in stylesheet

Code:

 

#foot a:link, #foot a:visited {

color: #7E7E7E;

font-weight: bold;

font-family: verdana,arial;

font-size: 10px;

text-decoration: none;

}

#foot a:hover {

text-decoration: underline;

}

 

i wana make the home | site map and other tabs centered.

 

please help me out

 

thankx

Link to comment
Share on other sites

Try adding this to your class

margin-left: auto; 
margin-right: auto;
width: 250em;

I seem to recall a problem with IE centering using div's. The fix, I think, was to add a center attribute to the body tag. In your case you may have to wrap your div in a table and, if you do that, I would suggest just using tables. They are better at formatting in such cases than css.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...