html - problem with border-collapse property in IE7 -


i have table 2 rows , 2 cols.

1st row: col1 = 2 spans col2 = 3 spans  2nd row: col1 = 3 spans col2 = 5 spans 

i have set border-collapse property of table collapse.i getting borders cells except last cell extends more 1st row.i tried using border-top-width:1px , still not display top boder last cell.

please help.

thanks

~anand

do every td/th have content inside? mean not tags (spans), text.

in browsers have such problems?

does code this:

<style> table {     border: 1px solid #000;     border-collapse: collapse; }  th, td {    border: 1px solid #000; } </style> 

 

<table cellpadding="0" cellspacing="0">     <tr>         <td>something></td>         <td>something></td>     </tr>     <tr>         <td>something></td>         <td>something></td>     </tr> </table> 

check styles applyed table , td's in firebug or developerstool. maybe styles overlapping your's.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -