html table 行高

我在一个table_p的td 中放一个子table1

table_p的td 中放一个子table2

 

这样一来,table1 与table2 的高度很难控制得一样高,尽管行数是一样的, 内容不同则高度不同, 后来发现只要在table1 与table2 的首行首列加一个空格( )就可以了.

 

 

部分代码:

 


       


           
               

 

...

 

......

 

 

你可能感兴趣的:(table,html,border,class,string,null)


                    <%if (lstImgNews != null) { %>
                   
                    <%} %>
               

                   
                      
                           
                           
                           
                       
                            <%if (lstJtfgs != null) { %>
                            <%for (HashMap mapJtfg : lstJtfgs) {%>
                            <%String title = mapJtfg.get("TITLE");%>
                            <%if (title.length() > 20) {
                                title = title.subSequence(0,19) + "...";}%>
                           

                               
                               
                            <%}%>
                            <%}%>
                   
交通法规更多
 ·<%=title%>
<%=mapJtfg.get("PUBTIME")%>