Home >Web Front-end >HTML Tutorial >Please tell me about the incompatibility between firefox and chrome css_html/css_WEB-ITnose

Please tell me about the incompatibility between firefox and chrome css_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:13:521057browse

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,

    but there is no css
    Is there an ul tag outside the li tag?


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Help, DIV arrangement problem_html/css_WEB-ITnoseNext article:Help, DIV arrangement problem_html/css_WEB-ITnose

Related articles

See more