Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting rid of space in catagories


ComicWisdom

Recommended Posts

Posted

I'm sorry I'm hogging so much space tonight, but I'm running out of time. These two sites are supposed to go live on Thursday.

 

I took Bayman's "Coming Soon" contribution and modified the code in "catagories.php" so that I would also have a "New Releases" in the Categories list. It works excellently except for funny formating on the page. It leaves a space between my insertions and the regular part of the list.

 

Can someone help me get rid of the ugly space?

 

Here is the code

 tep_show_category($first_element);

 $info_box_contents = array();
 $info_box_contents[] = array('text' => $categories_string);$info_box_contents[] = array('text' => '<a href="../../../catalog/products_coming_soon.php">Coming Soon</a><br>' .
				  '<a href="../../../catalog/products_new.php">New Releases</a><br>');

 new infoBox($info_box_contents);

 

Here is the ugly space between "Thriller" and "Coming Soon"

 

comingsoon.jpg

 

That space is really, really ugly. Please help?

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Archived

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

×
×
  • Create New...