Whats the best way to reset and then rewrit开发者_如何学Pythone the tableborder-color for the most common browsers, let's say FF, Opera, Safari and Chrome so that it will look the same as in IE.
IE:
(source: datapeak.net)Firefox, etc:
(source: datapeak.net)it seems that a browser selector is neccessary, because different browsers interpret the same hexadecimal values differently.
Why not use css instead? Something like the following will give you a cross-browser look:
<style type="text/css">
table.myclass
{
border-collapse: collapse;
border: 2px solid green;
width: 300px;
}
table.myclass td
{
border: 2px solid green;
}
</style>
精彩评论