hi
I want to vertical align middle the product name and price
how to do it.
Here is my code which is not aligning it
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> p{margin:0px; padding:0px;} .prod-seller{width:32%; float:left; border:1px solid #ada7a7; background-color:#FFFFFF; padding-bottom:15px; margin-right:1.18%; } .prod-seller-thumb{height:300px; width:200px; float:left; display:block; background-color:#999999; font-size:60px} .prodinfo{height:300px; line-height:300px; width:45%; text-align:left; float:left} .prod-seller-name{font-size:1.2em; line-height:1.2em; } .prod-seller-price{font-size:1.4em; color:#862e0f; line-height:normal; } </style> </head> <body> <div class="prod-seller"> <div class="thumb-name"> <p class="prod-seller-thumb">image place holder here</p> <div class="prodinfo"> <p class="prod-seller-name">Product Name will come here </p> <p class="prod-seller-price">NZ$ 243</p> </div> </div> </div> </body> </html>



Reply With Quote



Bookmarks