Dennis_gull Posted February 15, 2007 Share Posted February 15, 2007 (edited) Hey, i uploaded a picture displaying my issue. so here it is: This is the contribution im using: Product Listing in Columns Heres the code Im using for displaying the rows: if ($rows == "1") { $list_box_contents[$row] = array('params' => 'class="productListing-even"'); //2.2 modification ,add width in td $class_for_buy_now = 'class="productListing-even" width="'.$tdsize.'%"'; $counter = $row; } if (($rows/2) == floor($rows/2) && ($row > $counter)) { $list_box_contents[$row] = array('params' => 'class="productListing-even"'); $class_for_buy_now = 'class="productListing-even"'; $counter = $row; } else { if ($row > $counter) { $list_box_contents[$row] = array('params' => 'class="productListing-odd"'); $class_for_buy_now = 'class="productListing-odd"'; $counter = $row; } } hope someone can help me on this one because I've been working on this for some time now with a lot of issues. Edited February 15, 2007 by Dennis_gull Quote Link to comment Share on other sites More sharing options...
Dennis_gull Posted February 16, 2007 Author Share Posted February 16, 2007 didnt anyone have a similar problem? theres one way I can display just one background if I only have one item but then I wouldnt be able to have a left and right side. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.