A css novice comes to ask questions.
On chrome and ff, the code is as follows:
Height: 300px;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -o-pre- wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5 */
}
#editorbox2_inputword{
height: 290px;
width: 250px;
padding: 0;
outline: 0;
margin: 2px;
}
Then take a look at the effect of the picture:
chrome is normal, Why is the display of ff like that?
Can't upload images to csdn? Please go to the blog below and take a look at the pictures. Thank you all.
http://yeelone.blog.51cto.com/1476571/932895
Reply to discussion (solution)
in css Try adding the following css at the top
*{padding:0; margin:0;}
Is there a ul tag outside the li tag?
Tried it, but it doesn’t work at the end of the css Try adding the following css above
*{padding:0; margin:0;}
Yes,