firefox - Rendering difference in a very basic html -
i executing following html on ff5,chrome10, ie9 text wrapped 2 lines in ff5, in chrome , ie, td streched keep in 1 line.
i unable debug this:
<table width="80%"> <tbody> <tr> <td width="5%" align="center" style="font-size:10px" class="filename">2</td> <td width="50%" style="display:block"> d:/c_daive/dpcnet/nbndinh/denktpp/nbndinh/myjilentptentmybpp//bttic/ppcpden/jm_nubncaiptipn_ppl/jm_nubncaiptipn_ppl_updbte_nubncaiptipn_cpunt.c </td> <td width="25%" align="center" style="font-size:10px" class="filename">combo</td></tr></tbody></table> how can wrapping working on chrome , ie
use word-wrap in css
<table width="80%"> <tbody> <tr> <td width="5%" align="center" style="font-size:10px" class="filename">2</td> <td width="50%" style="display:block; word-wrap: break-word;"> d:/c_daive/dpcnet/nbndinh/denktpp/nbndinh/myjilentptentmybpp//bttic/ppcpden/jm_nubncaiptipn_ppl/jm_nubncaiptipn_ppl_updbte_nubncaiptipn_cpunt.c </td> <td width="25%" align="center" style="font-size:10px" class="filename">combo</td></tr></tbody></table> ref: http://webdesignerwall.com/tutorials/word-wrap-force-text-to-wrap
Comments
Post a Comment