开发者

Browser-Incompatability with image alignment in CSS using YUI grid (Firefox + Opera)

I'm having trouble with the alignment of two images on the footer of my temporary website (http://www.rotimioyewole.com). I'm new to the YUI grid, which I think may be a factor.

It should look roughly like this (works correctly in Chrome and Safari, haven't tested IE yet): (http://cl.ly/44fH)

But on FF and Opera look like this: http://cl.ly/44aO

If I can have some sort of consistency then the website would at least be presentable. Ideally, I would also like to align both images on the same Y axis, as well as the text next to the icons. I had trouble figuring out how to se开发者_运维问答arch for a solution..can anybody help me?

Thanks in advance


Add the following

#footer h4
{
text-align:left;
//remove margin-left: 10px;
}

.icon {
float:left;
padding-right: 5px;
vertical-align: middle;
//remove position: absolute;
}

#contact {
text-align: left;
}

This should fix the problem in Firefox at the very least.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜