手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

Dreamweaver简单排版设计-HOT图标

时间:2024-11-09 13:58:48

1、打开Dreamweaver软件,新建一个html文件

Dreamweaver简单排版设计-HOT图标

2、然后在body中建立div标签,在div再建立Img图片标签和文字标签h1

Dreamweaver简单排版设计-HOT图标Dreamweaver简单排版设计-HOT图标

3、对div设置一个宽度,然后居中对齐,设置相对定位

Dreamweaver简单排版设计-HOT图标Dreamweaver简单排版设计-HOT图标

4、将图片设置宽度为100%;

Dreamweaver简单排版设计-HOT图标

5、设置h1标签属性,如下图

Dreamweaver简单排版设计-HOT图标Dreamweaver简单排版设计-HOT图标

6、h1设置绝对定位,豹肉钕舞设置方向,最后效果如图:h1{margin:0;width:45px;height:45px;background-color:red; border-radius:50%;font-size:18px;line-height:45px;text-align:center;color:white;position:absolute;right:-22.5px;top:-22.5px;}

Dreamweaver简单排版设计-HOT图标Dreamweaver简单排版设计-HOT图标
© 2025 手抄报圈
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com