Is there a way to get a second line of text to fill vertically?
I'm having a bit of trouble getting the various products to line up
properly on my site. Some of the items have a name long enough to create a
second line of text, and when it does so, the items still align with the
top of the text rather than aligning the top of each image. Basically I
want it to use up some of the empty space above each div to fit a second
line of text, rather than pushing my picture down and just aligning at the
top. This is the code I'm using to create the divs in a loop within my
PHP:
<div class="new_prod_box">
<a href="details.html">
'.$title.'
</a>
<div class="new_prod_bg">
<a href="details.html">
<img src="images/'.$image.'" alt="'.$title.'" title="" class="thumb"
border="0" />
</a>
</div>
<a href="cart.php?action=add&id='.$id.'">
<u>Add to cart</u>
</a>
</div>
my website
No comments:
Post a Comment