请教一个CSS的问题,文字无法在某个DIV内显示_html/css_WEB-ITnose
程序员文章站
2022-06-05 23:31:02
...
div {overflow:hidden;word-wrap:break-word;border:2px solid green; } .total {width:1000px;height:1000px; } .header {height:20%; } .header_1 { height:30%; } .header_1 div div { width:100%; height:50%; } .header_1 div div div { width:50%; height:100%; text-align:center; } .header_1 div { width:19%; height:100%; float:left; } .header_2 { height:30%; } .header_3 { height:30%; } .header,.header_1,.header_2,.header_3 { width:inherit; } .header_2 div,.header_3 div { width:32%; height:100%;float:left;overflow:auto; }
I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into:ddddddddddddddddddddddddI have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into:I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into:I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 2I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 3I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 4I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 5I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 1I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 2I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 3I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 1I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 2I have a div tag, and the text wraps well when you have spaces, everything is good, but when I do a long word or something, it will stick outside the div, is there anyway to fix this. I've looked at several things but they aren't all compatible with all browsers.Right now this is my css that the text is going into: 3
推荐阅读
-
请教一个CSS的问题,文字无法在某个DIV内显示_html/css_WEB-ITnose
-
请教一个CSS的问题,文字无法在某个DIV内显示_html/css_WEB-ITnose
-
html点击不同图片怎么在同一个div内显示不同的页面?_html/css_WEB-ITnose
-
html点击不同图片怎么在同一个div内显示不同的页面?_html/css_WEB-ITnose
-
各位求救,我遇到一个莫名其妙的问题,就是在div中写了一段文字和相关的样式,但在IE和360中把div中最后一个字复制到div外面去了?请教各位?_html/css_WEB-ITnose
-
各位求救,我遇到一个莫名其妙的问题,就是在div中写了一段文字和相关的样式,但在IE和360中把div中最后一个字复制到div外面去了?请教各位?_html/css_WEB-ITnose