IE CSS alignment issues

前端 未结 5 1877
说谎
说谎 2021-01-20 21:11

I have the following CSS that i have \"hacked\" with PHP because it doesn\'t align properly in IE7. Is there a better way to do this without resorting to PHP?



        
5条回答
  •  天涯浪人
    2021-01-20 21:27

    It's really hard to tell what's going on here without a demo page, but could it be that another element on the page is bumping it down an extra 18 pixels? Could it be that there is some default margin on the element? I can't think of anything else being the problem with the CSS you've given. Could the child elements be a different size in IE and other browsers?

提交回复
热议问题