Êý×ÖºÍÓ¢ÎĵÄʱºò£¬TABLEÖеÄTD¾Í»á±»À³¤£¬²»»á×Ô¶¯»»ÐÐÁË¡£È«½ÇµÄʱºòÊÇ¿ÉÒԵġ£
½â¾ö·½·¨ÊÇ
Ìí¼Ó<td style="word-break:break-all">
Óñí¸ñ×öÍøÒ³ÅÅ°æµÄʱºò£¬Ò»°ã¶¼ÄÜÕý³£Ê¹Óá£Æ«Æ«ÓÐʱ»áÅöµ½Ò»¶ÎÁ¬ÐøµÄÓ¢ÎÄ´Ê»òÕßÒ»¶Ñ¸Ð̾ºÅ(!!!)°ÑÍøÒ³¾Í³Å¿ªµÄÏÖÏó£º
×ܽáÁËһϣ¬Ö»ÒªÔÚCSSÖж¨ÒåÁËÈçϾä×Ó£¬¿É±£ÍøÒ³²»»áÔÙ±»³Å¿ªÁË¡£
table{table-layout: fixed;}
td{word-break: break-all; word-wrap:break-word;}
×¢ÊÍһϣº
1.µÚÒ»Ìõtable{table-layout: fixed;}£¬´ËÑùʽ¿ÉÒÔÈñí¸ñÖÐÓÐ!!!(¸Ð̾ºÅ)Ö®ÀàµÄ×Ö·ûʱ×Ô¶¯»»ÐС£
2.td{word-break: break-all}£¬Ò»°ãÓÃÕâ¾äÕâOKÁË£¬µ«ÔÚÓÐЩÌØÊâÇé¿öÏ»¹ÊÇ»á³Å¿ª£¬Òò´ËÐèÒªÔÙ¼ÓÉϺóÃæÒ»¾ä(word-wrap:break-word;)¾Í¿ÉÒÔ½â¾ö¡£´ËÑùʽ¿ÉÒÔÈñí¸ñÖеÄһЩÁ¬ÐøµÄÓ¢Îĵ¥´Ê×Ô¶¯»»ÐС£
---------------------------------------------------
²»Ïë×Ô¶¯»»ÐУ¬²Î¿¼Ò»Ï´úÂ룺
<nobr>asdfsdfsdfsafdasd</nobr>
ŬÁ¦³ÉΪ´ó²Ë£¡
ÍƼöÐÅÏ¢
- CSS²¼¾ÖµÄ8¸öÄãÐèÒªÕÆÎյļ¼ÇÉ
- IE6¡¢IE7 ¡¢IE8¡¢FFµÄCSSHack
- ̽¾¿cssÖи÷ÖÖÇé¿öϵÄÔªËصĴ¹Ö±ºÍˮƽ¾ÓÖеÄÎÊÌâ
- YahooÍŶӾÑ飺ÍøÕ¾ÐÔÄÜÓÅ»¯µÄ34Ìõ»Æ½ð·¨Ôò(ת)
- HTMLÖÐÀûÓÃ404½«ÀÏÓòÃûÖض¨Ïòµ½ÐÂÓòÃû
- ÈÃdiv¸¡ÓÚselectÖ®ÉÏ
- ¼¸Æª¹ØÓÚºÐ×ÓÄ£Ð͵ÄÎÄÕ£¬ÈÕºó·½±ã¼ìË÷£º
- Css ÑùʽʹÓþÑé×ܽá
- display:inline-blockµÄÉîÈëÀí½â
- ÈçºÎÔÚÍøÒ³ÖÐǶÈëÌØÊâ×ÖÌå
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- ´ó±¥ÑÛ¸£ 7¿îÀàÐ͸÷ÒìµÄCSS3ʵÓò˵¥
- div+css¶àä¯ÀÀÆ÷²âÊÔ·½·¨
- cssËõд¸øÍøÕ¾¼ÓËÙ£¬ÆäʵºÜ¶àʱºò¶¼»áÓõ½
- ´¿CSS´òÔìBubbleÆøÅÝÌáʾ¿ò
- CSSʵÏÖͼƬ°´±ÈÀýËõ·Å
- CSS¼¼ÇÉÈÃÄãµÄÍøÕ¾¸üÉÏÒ»²ãÂ¥
- ¹Ì¶¨¸ß¶Èdiv,ËæÄÚÈÝ×Ô¶¯±ä¸ßcss¶¨Òå·½·¨
- web¼æÈݸ÷¸öä¯ÀÀÆ÷×îС¸ß¶ÈµÄд·¨
- CSS£¬Ç³ÎöpositionÖÐRelativeºÍAbsolute
- 12ÌõÔÔò£º±£³ÖHTML´úÂëÕû½à&¹æ·¶
ÆÀÂÛ