Use an "important" rule.
It works like this:
HTML Code:
<style type="text/css">
@media all {
.ieonly {
visibility: hidden !important;
visibility: visible;
}
}
</style>
IE doesn't understand the !important rule, so the first rule to hide the table is overridden by the second, which shows the table. In other browsers that understand !important, the !important will prevent the first rule from being overridden, so the table remains hidden. Ugly hack, but it works.
Another way of doing this does the opposite: using an IE-only feature, "conditional comments." This is a special syntax developed by Microsoft specifically for hiding/showing content to/from IE.
HTML Code:
<!--[if IE]>
<table>
This is technically a comment,
so most browsers will ignore it,
but because of the "if," IE will
render it anyway.
</table>
<![endif]-->
Bookmarks