i am trying to make an image align to be vertically centered. As it works perfect in all browser except IE7 . I already tried a lot.
here is my css and div.

     background: none repeat scroll 0 0 #FFFFFF;
        display: table-cell;
        height: 209px;
        line-height: 209px;
        margin: 4px;
        text-align: center;
        vertical-align: middle;
        width: 160px;
          <div class="vertical_align_center">
          <img src="images/text.jpg" width="100" height="50" />

Any help will be greatly appreciated. Thanks in Advance.

please send me your domain name then i can easy to analyze and checkout in ie7


please remove none

and second solution is specify the image path and check whether the image is in the mentioned folder in cpanel


well this is the site where I am working now. After clickin 'Add to cart' button at the first row and first column and by clicking 'Add to basket' . It will show a page. Where you can see the google image is align to be at the top in ie7 . however it should be align in middle as displaying in firefox and chrome.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.