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
Zoran HorvatRank #792 · 2.9K reputationPosted Aug 5, 2011, 12:03 AM EDT
td.inner_cell
{
border-top-width: 0;
}
Zoran
tiny prgrmmr20 reputationPosted Aug 5, 2011, 1:13 AM EDT
Zoran HorvatRank #792 · 2.9K reputationPosted Aug 5, 2011, 1:15 AM EDT
Zoran
tiny prgrmmr20 reputationPosted Aug 5, 2011, 2:28 AM EDT
Yes sure, here is the sample code represents the problem:
Zoran HorvatRank #792 · 2.9K reputationPosted Aug 5, 2011, 2:34 AM EDT
Also, note that you have misspelled maxlength attribute name.
Zoran
tiny prgrmmr20 reputationPosted Aug 5, 2011, 3:12 AM EDT
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 HorvatRank #792 · 2.9K reputationPosted Aug 5, 2011, 3:24 AM EDT
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 prgrmmr20 reputationPosted Aug 5, 2011, 4:45 AM EDT
Thanks alot Zoran
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts