SEARCH
TOOLBOX
LANGUAGES
Html

Html

From Chaehyun

(Difference between revisions)
Jump to: navigation, search
(Created page with '=== table td wrap 하기 === * http://ykyuen.wordpress.com/2010/02/25/html-wrap-text-in-table-cell/')
 
(One intermediate revision not shown)
Line 1: Line 1:
=== table td wrap 하기 ===
=== table td wrap 하기 ===
* http://ykyuen.wordpress.com/2010/02/25/html-wrap-text-in-table-cell/
* http://ykyuen.wordpress.com/2010/02/25/html-wrap-text-in-table-cell/
 +
 +
<code>
 +
<pre>
 +
<style type="text/css">
 +
table{
 +
    table-layout:fixed
 +
}
 +
td {
 +
    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+ */
 +
}
 +
</pre>
 +
</code>

Latest revision as of 06:27, 18 April 2010

table td wrap 하기

<style type="text/css">
table{
    table-layout:fixed
}
td {
    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+ */
}

Retrieved from "http://chaehyun.kr/w/Html"