Skip to content
小飞侠
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
菜单

博客

  1. 首页>
  2. 其他>
  3. css display: inline-block;使用时有时候会出现元素高度错位

css display: inline-block;使用时有时候会出现元素高度错位

  • Post author:xfxia
  • Post published:2023年10月15日
  • Post category:其他


使用display: inline-block时有时候会出现元素高度错位,如图
在这里插入图片描述

修改办法

给出现高度错位的盒子加上 vertical-align:top;可以解决


你可能也喜欢

SpringCloud01

Spark并行度和任务调度

关于安转android studio 在选择JDK找不到路径的问题

Moveit 学习——使用MoveIt Setup Assistant创建husky_kinova_moveit_config功能包

mybatis之include refid无效

EFCore执行Sql语句的方法:FromSql与ExecuteSqlCommand

x264 – rate_estimate_qscale

pitch yaw roll是什么

c语言中n的阶乘的流程图,n的阶乘流程图(计算机n的阶乘流程图)

【OpenCV】HSV颜色识别-HSV基本颜色分量范围

C# 数组 的三种声明方式

数据驱动在链家网搜索优化与推荐策略中的实践

PTA-7-1 冒泡法排序 (20分)

单链表第i个数据插入结点的算法思路:

HTTP请求使用自定义cookie

Elasticsearch报错action.search.shard_count.limit

Android之ADB命令

netlink 编程介绍

Mybatis建表

JSP实现登录删除添加星座等(带样式)

目录

  • APICloud (3)
  • golang (228)
  • java (8,236)
  • linux (4,002)
  • mysql (2,800)
  • php (1,070)
  • python (5,439)
  • solidity (25)
  • uniapp (235)
  • vue (2,463)
  • 其他 (88,233)
  • 小程序 (801)

文章归档

  • 2023年十二月 (1872)
  • 2023年十一月 (477)
  • 2023年十月 (17371)
  • 2023年九月 (44974)
  • 2023年八月 (26399)
  • 2023年七月 (14793)
  • 2023年六月 (1)
  • 2023年五月 (2186)
  • 2023年四月 (3838)
  • 2023年三月 (1544)
  • 2023年二月 (3)
  • 2023年一月 (4)
  • 2022年十二月 (3)
  • 2022年十一月 (36)
  • 2022年十月 (16)
  • 2022年九月 (8)
  • 2021年九月 (1)
  • 2020年九月 (6)
  • 2020年八月 (5)

标签

Aave (1) cosmos (6) defi (255) flag (27) gitee (1) github (1) golang (234) java (8234) linux命令 (82) List (1) map (1115) mysql (3093) npm (237) tendermint (6) uuid (43) vant (64) vmware (270) 区块链 (63) 合约 (37) 小程序版本更新 (3)
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
Copyright xfxia.com 鲁ICP备19024253号-2
关闭菜单