0

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.

 .vertical_align_center{
     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" />
          </div>

Any help will be greatly appreciated. Thanks in Advance.

2
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by brainfo
0

none

please remove none

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

0

http://www.apprs.com/decezy

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.