suneet.gupta
suneet.gupta

Reputation: 61

word-wrap feature not working in chrome

I am using the following stylesheet code to achieve word-wrap in the column of a table:

<style type="text/css">
    table,td {  
        table-layout: fixed;        
    }
</style>

This code works well in firefox and I'm able to achieve word-wrapping but when I tried this in chrome browser, it doesn't work.

Can you please suggest how to get it work in all the browsers (IE, firefox, chrome)

Upvotes: 4

Views: 6693

Answers (2)

Piyush Marvaniya
Piyush Marvaniya

Reputation: 2542

Try it this property to css

word-break: break-all;

Upvotes: 3

Konstantin Krass
Konstantin Krass

Reputation: 8646

maybe add the word-wrap: break-word property to css

Upvotes: 2

Related Questions