style="display:block;"在FireFox中跳格问题

block时,跳格如下所示:

        

 

 

 

 

改成style="display:incline"后, 正常:

        

 

        

另改成style="display:;"后,显示也正常了, 参见:http://rubyol.iteye.com/blog/140870

 

====实例HTML代码=====

<table>

    <tr>

        <td id="fontTd">finNo<span class="req"><font style="color: white" id="cwbhFont">*</font></span></td>

        <td colspan=3>

 

            <input type="text" name="project.projId" maxlength="10" value="" id="projId" class="text medium"/>

        </td>

    </tr>

    <!--

    <tr id="pMark" style="display:block;">

   

    <tr id="pMark" style="display:incline">

    -->

    <tr id="pMark" style="display:;">

        <td>flag<span class="req">*</span></td>

        <td>

            <select name="project.projMark" id="projMark">

                <option value="1">flag1</option>

                <option value="2">flag2</option>

            </select>

        </td>

    </tr>

</table>

 

你可能感兴趣的:(html,Blog,firefox)