html 中P标签内容居然要怎么弄 5
<tableborder="1"width="845"style="border:none;"><tbody><trclass="firstRow"><tdwidth="...
<table border="1" width="845" style="border: none;"> <tbody> <tr class="firstRow"> <td width="115" valign="bottom" style="width: 111px; border-color: windowtext; padding: 0px 7px;"> <p style="line-height:150%"> <span style="line-height: 150%; font-family: 宋体;">丙酮超声</span><span style="line-height: 150%; font-family: "Times New Roman", serif;">I</span><span style="line-height: 150%; font-family: "Times New Roman", serif;"> </span> </p> </td> <td width="161" valign="bottom" style="width: 161px; border-top-color: windowtext; border-right-color: windowtext; border-bottom-color: windowtext; border-left: none; padding: 0px 7px;"> <p style="line-height:150%"> <span style="line-height: 150%; font-family: 宋体;">设备:</span><span style="line-height: 150%; font-family: "Times New Roman", serif;">Kudos</span> </p> </td> <td width="375" valign="bottom" style="width: 392px; border-top-color: windowtext; border-right-color: windowtext; border-bottom-color: windowtext; border-left: none; padding: 0px 7px;"> <p style="line-height:150%"> <span style="line-height: 150%; font-family: 宋体;">功率:<input name="GX_DLQX.GL1" type="text" title="功率" value="" datatype="" ignore="ignore" leipiplugins="text" orghide="0" orgalign="left" orgwidth="50" orgtype="text" autofield="GX_DLQX.GL1" style="width: 50px;" orgfontsize="" orgheight=""/></span><span style="line-height: 150%; font-family: "Times New Roman", serif;">% </span><span style="line-height: 150%; font-family: 宋体;">温度:<input name="GX_DLQX.WD1" type="text" title="温度1" value="" datatype="" ignore="ignore" leipiplugins="text" orghide="0" orgalign="left" orgwidth="50" orgtype="text" autofield="GX_DLQX.WD1" style="width: 50px;"/></span><span style="line-height: 150%; font-family: "Times New Roman", serif;"> </span><span style="line-height: 150%; font-family: 宋体;">时间:<input name="GX_DLQX.SJ1" type="text" title="时间1" value="" datatype="" ignore="ignore" leipiplugins="text" orghide="0" orgalign="left" orgwidth="50" orgtype="text" autofield="GX_DLQX.SJ1" style="width: 50px;"/></span><span style="line-height: 150%; font-family: "Times New Roman", serif;">min</span> </p> </td> </tr> </tbody></table><p style="line-height: 150%;"> <strong><span style="font-size:19px;line-height:150%;font-family:'Times New Roman','serif'"> </span></strong></p>如何让图片中功率、温度、时间表格中的内容垂直居中?
展开
1个回答
展开全部
这个写法真是复杂啊,用css啊
格式后分析,没有居中是因为你在样式里面打双引号导致结构被破坏了
<span style="line-height: 150%; font-family: "Times New Roman", serif;">I</span>
<!--所有的都改成这样就自然居中了-->
<span style="line-height: 150%; font-family: \"Times New Roman\", serif;">I</span>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询