FIREFOX / IE Word-Wrap, Word-Break, TABLES FIX



/* this will force a column to be no wider than 300px,
breaking words in the middle of a long word if necessary. */
.HardBreak{
width: 300px;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}

You could also replace the .HardBreak class designator above with
td
{

and the style would automatically apply to all TD elements. Remove the width attribute in that case, and set the width in the TD element itself.


Phần đầy đủ

Nhận xét

Bài đăng phổ biến từ blog này

Intel Core 2 Duo E4300 Review and Overclocking Analysis

Tổng quan về overclock

Stronger do ca sĩ Inez