如何在页面左上角插入头像

来源:12-13 距离产生美 - 使用margin为盒子设置外边距(边界)

慕粉4006346

2016-09-18 14:46

怎么写代码,主要是CSS中的

写回答 关注

5回答

  • qq_如果个人_03224421
    2016-09-18 22:31:24

    <head>

    <img

    </head>

  • 慕粉3939121
    2016-09-18 15:02:37

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <title>图片右上角</title>

    <style type="text/css">

    #image{

                  width=100px; 

                  height=100px;

                  top:0px;

                   right:0px;

                 }

    </style>

    </head>

    body{

                <div id="image">

                    <img src…… .jpg/>

                </div>

        

    }





  • 慕粉3980821
    2016-09-18 14:55:47

    <img style="text-align:left" src="头像地址"/>

  • 慕粉3981893
    2016-09-18 14:55:31

    <body>

    <img src=".....3.jpg" width="310" height="50" />

    </body>


  • 慕粉3939545
    2016-09-18 14:53:11

    <img style="text-align:left" src=""/>

初识HTML(5)+CSS(3)-升级版

HTML(5)+CSS(3)基础教程8小时带领大家步步深入学习标签用法和意义

1227995 学习 · 18250 问题

查看课程

相似问题