Dreamweaver简单排版设计-HOT图标

 时间:2026-04-26 08:58:46

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图标

  • 关于html内嵌video的一些参数设置
  • div+css网页布局有哪些缺陷的缺陷
  • Dreamweaver 怎么做鼠标经过更换图片特效
  • Dreamweaver中如何插入Div
  • CSS让段落开头自动空两格代码
  • 热门搜索
    同性恋是怎么回事 苹果手机怎么下载小说 qq怎么改身份证 突然腰疼是怎么回事 阅读卡怎么做 胆囊息肉怎么引起的 固定资产折旧怎么算 貂绒毛衣怎么洗 蛇皮果怎么吃 怎么爱你都不够