开发者

Can somebody tell me what is wrong with the code in this page? The layout does not work properly in Safari browser

I do some work on on old tables based site. It is being replaced but I would like it to work for now.

One of the pages in question is http://www.gdsofusa.com/marantec_garage_door_op开发者_StackOverflow社区eners.html. When this page (and some others) is viewed in Safari 5.0 (7533.16) and probably others, the page content is off to the right.

I just need to fix this since about 15% of the traffic is Safari.

Please help!


I got it working by:

Removing "float:left" on your "tabs" div
Setting your "tabs" li's as "display:inline-block" instead of "display:inline"

HTH


The first thing to try is always validation


A common cause of this kind of problem is a mismatched end tag on an HTML element.

Try an HTML validator like http://validator.w3.org

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜