开发者

List item dipping too low in IE8 and upwards

开发者 https://www.devze.com 2023-03-15 15:57 出处:网络
I have a simple navigation bar which was creating using list items. F开发者_开发知识库or some reason, the final list item is dipping below the rest of them and I can\'t figure out why.

I have a simple navigation bar which was creating using list items. F开发者_开发知识库or some reason, the final list item is dipping below the rest of them and I can't figure out why.

You can see it happening here if you view in IE: http://www.thatcreative.co.uk/staging/

As far as I can tell this happens in all versions of IE except for 6.

I could not find any other questions which covered this issue.

Thanks in advance for any help.


It seems like a margin problem, you have list's left margin set at 34px. Try reducing it for the last item. It did the trick for me. I set the margin for 4px, and it came back up.

0

精彩评论

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