当前位置:网站首页>There are multiple divs in the large div, which are displayed on the same line. After overflow, scroll bars are generated without line breaks
There are multiple divs in the large div, which are displayed on the same line. After overflow, scroll bars are generated without line breaks
2022-07-04 19:25:00 【Memories do not have a dream】
There was a need before , Big div There are multiple div, these div Show on the same line , Under normal circumstances , Or it will overflow and fill up , Or a new line . But how can we generate scrollbars without line breaks after overflow ?
terms of settlement :
<style type="text/css">
.mt {
width: 600px;
height: 200px;
overflow: auto;
}
.mk {
white-space: nowrap;
}
.mj {
width: 150px;
height: 150px;
border: 1px solid #999;
display: inline-block;
}
</style>
</head>
<body>
<div class="mt">
<div class="mk">
<div class="mj"></div><div class="mj"></div><div class="mj"></div><div class="mj"></div><div class="mj"></div><div class="mj"></div><div class="mj"></div><div class="mj"></div><div class="mj"></div>
</div>
</div>
</body>
边栏推荐
- Technologie de base de la programmation Shell IV
- Angry bird design based on unity
- Scala basic tutorial -- 19 -- actor
- BI技巧丨权限轴
- 2022CoCa: Contrastive Captioners are Image-Text Fountion Models
- 基于lex和yacc的词法分析器+语法分析器
- Qt实现界面滑动切换效果
- Is the securities account opened by qiniu safe?
- Have you guys ever used CDC direct Mysql to Clickhouse
- 更安全、更智能、更精致,长安Lumin完虐宏光MINI EV?
猜你喜欢

Oracle with as ORA-00903: invalid table name 多表报错

奥迪AUDI EDI INVOIC发票报文详解

LM10丨余弦波动顺势网格策略

Nebula importer data import practice

The latest progress of Intel Integrated Optoelectronics Research promotes the progress of CO packaging optics and optical interconnection technology

自由小兵儿
redis分布式锁的8大坑总结梳理

LeetCode第300场周赛(20220703)

使用canal配合rocketmq监听mysql的binlog日志

千万不要只学 Oracle、MySQL!
随机推荐
2014合肥市第三十一届青少年信息学奥林匹克竞赛(小学组)试题
神经网络物联网是什么意思通俗的解释
其他InterSystems %Net工具
关于判断点是否位于轮廓内的一点思考
发送和接收IBM WebSphere MQ消息
Leetcode ransom letter C # answer
26. 删除有序数组中的重复项 C#解答
Scala basic tutorial -- 12 -- Reading and writing data
sqlserver的CDC第一次查询的能读取到数据,但后面增删改读取不到,是什么原因
One question per day (2022-07-02) - Minimum refueling times
Wireshark网络抓包
Pb extended DLL development (super chapter) (VII)
2022健康展,北京健博会,中国健康展,大健康展11月13日
2022养生展,健康展,北京大健康展,健康产业展11月举办
Process of manually encrypt the mass-producing firmware and programming ESP devices
redis分布式锁的8大坑总结梳理
问下各位大佬有用过cdc直接mysql to clickhouse的么
“只跑一趟”,小区装维任务主动推荐探索
Unity editor extends C to traverse all pictures in folders and subdirectories
C # implementation defines a set of SQL statements that can be executed across databases in the middle of SQL (detailed explanation of the case)