开发者

css debugging, cross-browser compatibility

There are two <div></div> tags. When it is browsed using Firefox, the effect is desirable. There is a gap between .steven and .john. However when it is browsed using IE, the effect is undesirable; .Steven and .john are connected together(There is no gap). How to solve this problem?

.steven{
     position: relative;
     width: 620px;
     left: 55px;
  开发者_Python百科   float: left;

     }

    .john {
     position: relative;
     width: 270px;
     right: 35px;
     float: right;


    }


Have you used a Reset CSS?

Different browsers have different defaults for display on different elements.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜