found this on the net at stack overflow

Code:
#hide_element:target {
    display:none;
}

.show_element:target{
    display:block;
}
perhaps that would work?

its the last solution on this page. he describes how to use it
http://stackoverflow.com/questions/1...ton-is-clicked.