更多“下列哪条CSS样式规则是不正确的()。A.img{float:left;margin:20px;}B.img{float:right;width:120p ”相关问题
  • 第1题:

    图文混排页面,第一个层图片在文字左边,第二个层图片在文字右边,哪个哪个说法正确()

    A.要统一设置图片浮动样式为: img {float:left; }

    B.要统一设置图片浮动样式为: img {float:right; }

    C.要设置二个图片的复合样式,如.style1 img {float:left; }和 .style2 img {float:right; };

    D.要设置二个图片的复合样式,如.style1 img {clear:left; }和 .style2 img {clear:right; };


    B

  • 第2题:

    下列哪条CSS样式规则是不正确的

    A.img{float:left; margin:20px;}

    B.img{float:right; width:120px; height:80px;}

    C.img{float:right; right:30;}

    D.img{float:left;margin-bottom:2em;}


    img{float:right;right:30px}

  • 第3题:

    关于浮动,下列样式规则中不正确的是()

    A.img{float:left;margin:20px;}

    B.img{float:right;right:30px;}

    C.img{float:right;width:120px;height:80px;}

    D.img{float:left;margin-bottom:2em;)


    img{float : right ; right:30px;}

  • 第4题:

    5、图文混排页面,第一个层图片在文字左边,第二个层图片在文字右边,哪个哪个说法正确()

    A.要统一设置图片浮动样式为: img {float:left; }

    B.要统一设置图片浮动样式为: img {float:right; }

    C.要设置二个图片的复合样式,如.style1 img {float:left; }和 .style2 img {float:right; };

    D.要设置二个图片的复合样式,如.style1 img {clear:left; }和 .style2 img {clear:right; };


    要设置二个图片的复合样式,如 .style1 img {float:left; } 和 .style2 img {float:right; } ;

  • 第5题:

    以下哪一项是向左浮动的语句?

    A.float:right;

    B.float:none;

    C.float:left;

    D.float=left;


    float:left;