不适用
CSS网页制作时实现自动换行的小技巧
声明:资源链接索引至第三方,平台不作任何存储,仅提供信息检索服务,若有版权问题,请https://help.coders100.com提交工单反馈
大家都知道连续的英文或数字能是容器被撑大,不能根据容器的大小自动换行,下面是 CSS如何将他们换行的方法!
对于div
1.(IE浏览器)white-space:normal; word-break:break-all;这里前者是遵循标准。
#wrap{white-space:normal; width:200px; }
或者
#wrap{word-break:break-all;width:200px;}
eg.
ddd1111111111111111111111111111111111
效果:可以实现换行
2.(Firefox浏览器)white-space:normal; w
-
pokemon-tcg-exchange
- 2025-07-13 00:00:41
-
tc-prestashop-module-free
- 2025-07-13 00:01:06
-
RLZY_Web
- 2025-07-13 00:10:47
-
profit
- 2025-07-13 00:29:52
-
pipe-graph
- 2025-07-13 00:35:27
-
linux-server-panel
- 2025-07-13 00:57:02
-
Ward-Management-System
- 2025-07-13 01:04:45
-
Hospital-Medical-Record-Management-System
- 2025-07-13 01:05:17
-
vue2-cli-210713
- 2025-07-13 01:15:52
-
blackcat-card
- 2025-07-13 01:37:40
-
MakerSpace
- 2025-07-13 01:42:53
-
online--web
- 2025-07-13 01:44:45
-
panda-web-scrcpy
- 2025-07-13 02:21:55
-
vue3-components-xudji
- 2025-07-13 02:25:54
-
springboot-vue4970
- 2025-07-13 02:32:40
-
GrimScience
- 2025-07-13 02:33:53
-
demo-weekly
- 2025-07-13 02:39:44
-
BPS
- 2025-07-13 02:42:07
-
vue-cli
- 2025-07-13 02:54:55
-
nice_parent_app
- 2025-07-13 03:04:37
-
CtrlSketch
- 2025-07-13 03:07:57
访问申明(访问视为同意此申明)
2.如有索引链接发生失效情况请【联系客服】自助退回)
3.是否访问均为用户自主行为,本站只提供搜索服务不提供技术支持,感谢您的支持