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?
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?