最近在项目中,用到了table的换行处理。在table定义中,添加style=“table-layout:fixed;” 如<table style="table-layout:fixed;"></table>在对需要换行的td中,添加style=“word-break:break-all;”如下:<tr><td style=“word-break:break-all;”><td></tr> 此时,在table中有统一使用的class,此时则不使用。否则换行不成功。。 Read More
posted @ 2012-02-01 16:15
ljxz
Views(24879)
Comments(0)
Diggs(1)
原文地址为:http://kb.cnblogs.com/page/77482/step1:View页面其中,@using(){}这个方式为添加一个form表单,当{}中有submit的事件发生时,在UploadFilesController的Upload方法中进行处理。采用Post的提交方式(在Controller中也用Post接收)。enctype = "multipart/form-data"这个属性是必须的,在http://www.w3school.com.cn/tags/att_form_enctype.asp中,可以查询到enctype的属性的各种用途。如果不添加 Read More
posted @ 2012-02-01 13:23
ljxz
Views(397)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号