Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links Manager II


Iniquityclothing

Recommended Posts

Hi folks take a look at my links page, http://www.iniquityclothing.com/links.php as you will see it is not sat correctly in the table, how can I align the info correctly? I have used contribution 'LinksManager_II_V_1.17' here is the code from catalog/includes/lang/eng/links.php

 

<?php

/*

$Id: links.php,v 1.00 2003/10/03 Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Links');

 

define('TEXT_MAIN_CATEGORIES', 'Welcome to our link exchange program.');

define('TEXT_MAIN_LINKS', 'Below is our list of links for the <b>%s</b> category.');

define('TEXT_MAIN_LINKS_ONLY', 'Below is our list of links.');

define('TEXT_FEATURED_HEADING', 'Featured Link');

define('HEADING_TITLE_LINKS', 'Links');

define('HEADING_TITLE_CATEGORIES', 'Link Categories');

define('TABLE_HEADING_LINKS_IMAGE', 'Image');

define('TABLE_HEADING_LINKS_TITLE', 'Title');

define('TABLE_HEADING_LINKS_URL', 'URL');

define('TABLE_HEADING_LINKS_DESCRIPTION', 'Description');

define('TABLE_HEADING_LINKS_COUNT', 'Clicks');

define('TEXT_NO_LINKS', 'There are no links to list in this category.');

define('TEXT_NO_CATEGORIES', 'There are no link categories to list yet.');

define('TEXT_FIND_LINK', 'If you cannot find the link you are looking for, please try the search function below.');

// VJ todo - move to common language file

define('TEXT_DISPLAY_NUMBER_OF_LINKS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> links)');

 

define('IMAGE_BUTTON_SUBMIT_LINK', 'Submit Link');

?>

 

However I suspect that this is a CSS issue here is the CSS code that the installation recommended using:

 

/* VJ Links Manager v1.16 begin */

TABLE.linkListing {

border: 1px;

border-style: solid;

border-color: #b6b7cb;

border-spacing: 1px;

}

 

.linkListing-heading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

font-weight: bold;

background: #b6b7cb;

color: #FFFFFF;

text-align: center;

}

A.linkListing-heading {

color: #FFFFFF;

}

A.linkListing-heading:hover {

color: #FF0000;

}

TD.linkListing-data {

border-right: 1px solid #b6b7cb;

border-bottom: 1px solid #b6b7cb;

padding: 4px;

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

}

 

TR.linkListing-odd {

background: #f8f8f9;

}

 

TR.linkListing-even {

background: #F5F5F5;

}

 

.linkFeatured {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

font-weight: bold;

background: #dbd6d6;

color: #FFFFFF;

text-align: center;

border: 1px solid black;

}

.linkFeaturedHeading {

font-family: Verdana, Arial, sans-serif;

font-size: 14px;

font-weight: bold;

background: #dbd6d6;

color: #FFFFFF;

text-align: center;

}

.linkFeaturedMain {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

font-weight: bold;

background: #dbd6d6;

color: #FFFFFF;

text-align: center;

}

A.linkListingMain {

color: #fff;

}

A.linkListingMain:hover {

color: #FF0000;

}

 

.linkListingCats {

font-family: Verdana, Arial, sans-serif;

font-size: 11px;

font-weight: bold;

color: #FFFFFF;

text-align: center;

}

A.linkListingCats {

color: #000;

line-height: 1.5;

}

A.linkListingCats:hover {

color: #FF0000;

}

 

.linkListingSubCats {

font-family: Verdana, Arial, sans-serif;

font-size: 9px;

font-weight: normal;

color: #FFFFFF;

text-align: center;

}

A.linkListingSubCats {

color: #000;

line-height: 1.5;

}

A.linkListingSubCats:hover {

color: #FF0000;

}

 

/* VJ Links Manager v1.16 end */

 

Any thoughts would be a great help, thanks, Phil

View recent 'helpfull' threads:

 

403 Error problems | Ultimate SEO (contribution support)

Link to comment
Share on other sites

On the links page (template), you have an extra <br></body>:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="center"></td>

</tr>

</table>

 

<!-- footer_eof //-->

<br>

</body>

</html>

 

You have an extra </table> (which is closing the table too soon) pushing the links info to the right. Delete that and see what you get:

 

<!-- whats_new_eof //-->

</table>

</td>

</tr>

</table>

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

It's all just ones and zeros....

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...