Forums / Templates, Stylesheets, Page Layout / Search results on the bottom of each row

Search results on the bottom of each row

Locked

Started by g_force on 22 Jun 2009, 6:43 PM · Views: 743

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 Jun 2009, 6:43 PM
#1
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Search results on the bottom of each row

On the search results page I have product images being pulled up as I wish. In order to do so in the 'tpl_module_products_listing.php' file I referenced out 'tpl_tabular_display.php' and put my own file without the tables as it was causing inconsistencies with different resolutions and screen sizes. So now I have a <div> tag around the php being pulled in; like this:

<div class="align_results">
   <?php echo $list_box_contents[$row][$col]['text'] ?>
</div>

The css for that div tag is like this:

	float: left;
	height:124px;
	padding-right:12px;
	padding-bottom:25px;
	padding-top: 10px;
	border-bottom: thin solid #CCCCCC;

The problem that I am having is that some of the product images are portrait views and others are landscapes - and the landscapes are not sitting flush (at the bottom of each row) to the portrait images. This may seem like a simple problem (and I hope it is) but I haven't been able to solve it with quite a lot of effort and more than enough trial and error.

Please if anyone knows the solution or can suggest anything that might help please do..

_Thanks

23 Jun 2009, 6:00 PM
#2
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: Search results on the bottom of each row

..is anybody out there?