Sincraft Posted February 4, 2005 Posted February 4, 2005 I have a question running in this very category about a product listing contrib, however maybe a quick question to the PHP gurus maybe I could ramble out the rest and reseat the contrib. SO my question is: How do you center something, and force it toward the bottom of the table/cell? I provide to you the line in question.. $product_contents[] = $lc_text; } $lc_text = implode('<br>', $product_contents); $list_box_contents[$row][$column] = array('align' => 'center', 'params' => 'class="productListing-data"', 'text' => $lc_text); Er I believe this is where it is located..
Sincraft Posted February 5, 2005 Author Posted February 5, 2005 anyone? - know how to make something 'bottom' out in the cell it sits in? In the interim - I am creating images templates and placing the images on the bottom / center of the template so they all line up - but this is not going to work for the long run as my current background of white is going to change with everypage to capture a theme. :( S
Sincraft Posted February 11, 2005 Author Posted February 11, 2005 OK how about in HTML - will it work with php along side? Can I just insert something in there somehow or maybe a stylesheet mod? I really want to get these pictures and descriptions to line up...every osCommerce store I see has this same very problem and I think it looks amatuerish...so do the people that don't know a thing about computers when I ask them to review my site. S
burt Posted February 11, 2005 Posted February 11, 2005 PHP is a tool that outputs HTML... css: vertical-align: bottom;
♥Monika in Germany Posted February 12, 2005 Posted February 12, 2005 change your code to this for bottoming (it is centered already: align=center) $product_contents[] = $lc_text; } $lc_text = implode('<br>', $product_contents); $list_box_contents[$row][$column] = array('align' => 'center', 'params' => 'valign="bottom" class="productListing-data"', 'text' => $lc_text); Monika :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Sincraft Posted February 12, 2005 Author Posted February 12, 2005 HEY thanks guys! I'll try it out and let you know! S
Recommended Posts
Archived
This topic is now archived and is closed to further replies.