Click to See Complete Forum and Search --> : Learning CSS. Show div on click.


Chikara
05-24-2007, 02:33 PM
I'm attempting to make my site more accessible by using CSS.

The Problem
=========
I want to show the contents of a hidden div by clicking on an img, link, or text.

What I Know
=========
I already know how to do this in javascript. I'm already hiding the div with CSS. I have played around with A:hover, but that won't do what I need it to do.

Is it possible to do this without JS, or am I trying to accomplish the impossible?

I'm not looking to copy and paste code here. I want to know HOW it works.

ray326
05-24-2007, 03:49 PM
JS is required.