2014-01-25 35 views
0

我有沒有空格一個大線,當屏幕變小文被隱藏在Chrome是有什麼辦法來削減這下一行,下面是我的代碼(Fiddle) HTML:如何在屏幕變小時在下一行顯示沒有空格的行?

<a href="http://www.findyogi.com/laptops/dell/allSpecs/f_price_28500:34500_page_0" target="_blank">http://www.findyogi.com/laptops/dell/allSpecs/f_price_28500:34500_page_0</a><br><br><br> 

<a href="http://www.findyogi.com/laptops/dell/dell-inspiron-15-3521-ci3-4gb-500gb-linux-b942ed/price" target="_blank">http://www.findyogi.com/laptops/dell/dell-inspiron-15-3521-ci3-4gb-500gb-linux-b942ed/price</a> 

是在firefox上工作得很好,但是有些如何不能在Chrome上工作。我相信,我錯過了一些CSS syles

回答

3

添加到您的CSS在你的小提琴,重新嘗試:

a { 
    word-wrap: break-word; 
} 
相關問題