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/')
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/
 +
<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+ */
 +
}

Revision as of 06:25, 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"