It might be better to replace the classes with a table instead of directly editing CSS properties - this will be a more scalable / extensible solution:
table {
border:0;
}
table.border {
border:1px solid #000;
}
Of course, your table will “jump” at 1px when a border is added, so it might be better to use a border or a white border when you are not hanging:
table {
border:1px solid #fff;
}
table.border {
border:1px solid #000;
}
Or best of all, if you don't need to be compatible with IE6, you can do all this with pure CSS:
table {
border:1px solid #fff;
}
table:hover {
border:1px solid #000;
}
This will be the best / easiest / scalable approach!