Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

need help with str_pad()


Recommended Posts



I've got a pesky little problem.


I'm trying to use the str_pad() function call to create the appearance of columns on a page at my site. If I use a printable character such as "." or "_" everything works fine. However, I really want to use spaces " ". When I try to pad out with spaces, it looks like I only get one space worth of padding, no matter how many spaces I specify.

Help would be appreciated.


Also, can anybody tell me which font specification in stylesheet.css is the one that is applied to the product info in product_listing_col.php. I've be changing them one at a time to figure out which one it is but haven't be able to figure it out yet. (I want to switch to a fixed width font to make the columns look neater.


Thanks in advancd,

Paul Fazzina

Link to comment
Share on other sites


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

  • Create New...