增加li属性中的文本大小

时间:2014-08-08 11:57:41

标签: jsp

我有以下代码片段,我想增加

  • 标签内文字的字体大小。我怎样才能实现同样的目标?

    <tr style="height:18px; background:url(docs/images/dots_horiz.gif) top repeat-x #E3E8DE;">
              <td style="padding-left:7px;"> 
              <strong><u><i>APPLICATION TEST</i></u> - </strong>
              <span title="header=[Application Test] body=[Use the dropdown to select an application rating of 'Pass', 'Fail','I Do Not Use This','No Longer in Use' or 'Not In Scope':<br>
                 <ul> 
                   <li>Pass - Able to operate the application </li> 
                   <li>Fail - Unable to use the application (i.e. not on the machine, error message pop-up) </li>
                   <li>I Do Not Use This - Tester does not use this application </li> 
                   <li>No Longer in Use - This application is no longer in use by <strong>anyone</strong> in the tester's group.<strong>Tester should consult their BU Coordinator before selecting this response. </strong></li>
                   <li>Not In Scope - This application is not in scope for testing by tester </li></ul>]"> 
                       <a href="#"><img src="docs/images/btn_blue_help.png"
                align="absmiddle" border="0"></a></span>&nbsp;Tester is to ensure that critical <i><u>Applications listed in BizCon plan</u></i> are tested accordingly<br></br>
              - Tester to log into critical applications and confirm basic functionality<br>
              - Tester to validate market data connectivity (if applicable)
              </td>
            </tr>  
    
  • 1 个答案:

    答案 0 :(得分:0)

    由于您使用的是内联css,因此您必须将<ul>上的值应用于<ul style="font-size: 12px">,以便进行全局覆盖。

    如果您想在<li>上应用不同尺寸,则必须在每个<li>上定义值