I have different anchor tags with href=#ids and I need to hide them using a general css rule for all of them,
Content xxxxxxxxx Table 1&
Why not just create a CSS class for your anchors and hide them using that class?
foo
And in your CSS:
a.hiddenTab {visibility:hidden; display:none;}
All the anchors you'd want to hide would just use "class='hiddenTab'"