Home >Web Front-end >HTML Tutorial >Line break problem in IE and FF? _html/css_WEB-ITnose

Line break problem in IE and FF? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:16:491072browse

The first picture below is the effect in FF, and the second picture is the effect in IE. How to make the effect in FF appear in IE? Hope you can help answer the question! Thanks!


The overall code is as follows:
7e6d5e3f93aa6b1f5e4d9497f60e7cc9
68ccb177a5de0ef9542dde7d35bae727
93f0f5c25f18dab9d176bd4f6de5d30e
97f2b6ae5f4f65bc7d15c6c9b9e8be8c
b2386ffb911b14667cb8f0f91ea547a7Untitled Document6e916e0f7d1e588d4f442bf645aedb2f
f7911308d3d96f3fa9932daf4a605e0a
ul{margin:20px;list-style:none;font-size:12px;font-family:Arial;}
li{width:200px;}
99f7a397475a4a64d9f5e82da03b8c95
6c04bd5ca3fcae76e30b72ad730ca86d
ff6d136ddc5fdfeffaf53ff6ee95f185
                                 
:10 Places Where #Designers Can Upload and Host Their Work for Free
ee7959cc8dd4be16ef633321c03dac32http://bit.ly/9PqzHu5db79b134e9f6b82c0b36e0489ee08ed
lt;span> 2:14 PM Feb 9th from web54bdf357c58b8a65c66d7c19c8e4d114

Reply to discussion (solution)

The tag 3499910bf9dac5ae3c52d5ede7383485 under IE does not wrap lines. If you want to wrap lines, you can add a 076402276aae5dbec7f672f8f4e5cc81 tag. The poster can try the following code:


CSDN will automatically block line breaks. Just try changing http://bit.ly/9PqzHu to http://bit.ly076402276aae5dbec7f672f8f4e5cc81/9PqzHu.

Line breaks are based on the integrity of the English word. ie's understanding is wrong and the website address is regarded as a whole word.

       <ul>            <li>RT @                <a href="#">Reencoded</a>                :10+ Places Where #Designers Can Upload and Host Their Work for Free                <a href="#">http://bit.ly<br/>/9PqzHu</a>                <span>2:14 PM Feb 9th from web</span>            </li>        </ul>
I tested the answers to my questions from friends. If the content in the a tag is a URL, it will appear different in IE and FF. As my friend on the 3rd floor said, IE treats the URL as a URL. The whole word is not line-wrapped, but the line-breaking in FF is based on the first '/' character that appears in the URL. In order to make the content have the same effect in IE and FF, you can add a 076402276aae5dbec7f672f8f4e5cc81 tag where you believe it. This method on the 1st floor is simple and easy to use. Thank you all. I don’t know the summary above. Is it possible?

df250b2156c434f3390392d09b1c9563Simple and convenient

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