Text Centering on Links

General ShopSite user discussion

Text Centering on Links

Postby Gaspumpman » Fri Mar 22, 2013 4:33 pm

I can't seem to find a way to get link images to center over link text. example: http://www.benfordfueling.com/shop/anothertestpage.html Am I missing something?
Gaspumpman
 
Posts: 27
Joined: Thu Mar 14, 2013 11:30 am

Re: Text Centering on Links

Postby Jim » Fri Mar 22, 2013 6:53 pm

Is this a page you manually created the images/links on or did the template do it?
The code for each one of the image / link combinations is like this:[code<td class="page-link">
<a class="link-graphic" href="http://www.benfordfueling.com/shop/page23.html" title="Absorbents Oil and Hazardous Liquids : ARK Petroleum Equipment, Inc."><img src="http://www.benfordfueling.com/shop/media/Buttons/button_absorbents.gif" alt="button_absorbents.gif" width="100" height="121" vspace="3" hspace="3" border="0" class="link-graphic center"></a><a class="link-name" href="http://www.benfordfueling.com/shop/page23.html" title="Absorbents Oil and Hazardous Liquids : ARK Petroleum Equipment, Inc.">Absorbents</a>
</td>[/code]
You could try putting a <br> in front of each of the text strings like this "<br>Absorbents" That way it would force the text to a new line and would put it under the image.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Text Centering on Links

Postby Gaspumpman » Fri Mar 22, 2013 8:14 pm

The text comes from the template form "Link Name" If you put a title in that box I automatically creates the hyperlink text and puts it where it wants it. My workaround is to leave this box blank and wright old fashion html. <center><a href=http://www.benfordfueling.com/shop/duro_1200_1300_hose_reels.html>1200 & 1300 Standard Shop Reels</a></center>
This is a page I completed tonight using this html style: http://www.benfordfueling.com/shop/DuroReel.html. It takes some time doing it this way. It would be nice to just click a button and have it the way you want it.
Gaspumpman
 
Posts: 27
Joined: Thu Mar 14, 2013 11:30 am

Re: Text Centering on Links

Postby Jim » Sat Mar 23, 2013 6:05 am

Did you try putting "<br>link name" in the Link Name field?
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Text Centering on Links

Postby Gaspumpman » Sat Mar 23, 2013 8:11 am

<br> tag works. Thanks!
Gaspumpman
 
Posts: 27
Joined: Thu Mar 14, 2013 11:30 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 131 guests