I have a table in xsls(Same as Html). Inside this table, I have another table. I set the border of both tables to "0". Cellpadding and Cellspacing for both tables are "1" . The problem I m facing is that, the first cell of inner table makes a thicker upper border, which i guess because of the combination of outer table's cell's bottom border and top border of inner table's cell. I have tried much to remove this thick line, but no luck ... !!!
Any kind of help will be highly appreciated ..
Loading
tiny prgrmmrPosted Aug 5, 2011, 8:45 AM
Thanks alot Zoran
Zoran HorvatPosted Aug 5, 2011, 7:24 AM
So what I think happens here is that you have a CSS which affects td tag in a way to add border. Check your stylesheets, e.g. you might have something like this somewhere:
td
{
border-width: 1px;
border-style: solid;
}
Zoran
tiny prgrmmrPosted Aug 5, 2011, 7:12 AM
but the problem is that I already tried with border="0" . tables become borderless, but the two cells(last form outer table and first from inner table) make the line thick. you can see the problem in sample code i provided above. This thick line freaking me out :(
Also thanks for pointing the mistake about maxlength :)
Zoran HorvatPosted Aug 5, 2011, 6:34 AM
Also, note that you have misspelled maxlength attribute name.
Zoran
tiny prgrmmrPosted Aug 5, 2011, 6:28 AM
Yes sure, here is the sample code represents the problem:
Zoran HorvatPosted Aug 5, 2011, 5:15 AM
Zoran
tiny prgrmmrPosted Aug 5, 2011, 5:13 AM
Zoran HorvatPosted Aug 5, 2011, 4:03 AM
td.inner_cell
{
border-top-width: 0;
}
Zoran