Snookerman
10-18-2008, 09:51 AM
I have a page with a table with three rows. I want to remove the second row. I do not have access to the page, I only have access to its css document. The row I want to remove does not have an id or a class. It only contains a non-breaking space. If I use
table tbody tr td {
display:none
}
then I lose the third row which I actually need. Is there any way for me to target only the second row using css? It should be something like this:
table tbody tr td(second) {
display:none
}
Of course that doesn't work but there should be something similar that works.
Another solution would be to actually use the first option, which would hide the entire table, and then use css to make the third row display anyways instead of inheriting the display:none value. The third row does have a id value which I can use. Visibility:hidden and visible is not got since the row would still take up the space. I need to get rid of it.
Please help me, thanks!
table tbody tr td {
display:none
}
then I lose the third row which I actually need. Is there any way for me to target only the second row using css? It should be something like this:
table tbody tr td(second) {
display:none
}
Of course that doesn't work but there should be something similar that works.
Another solution would be to actually use the first option, which would hide the entire table, and then use css to make the third row display anyways instead of inheriting the display:none value. The third row does have a id value which I can use. Visibility:hidden and visible is not got since the row would still take up the space. I need to get rid of it.
Please help me, thanks!