Jesper Rønn-Jensen wrote:

> I need a combination of an image, headline, paragraph text and a link
>  all to be clickable. All of this nested in a div, that changes 
> background-color on hover and is clickable. So instead of adding an 
> a-element to each inline text/image, I want the empty space in the 
> div to be clickable too.

Yukka has already pointed to _one_ working solution, which you can
expand on almost indefinitely.

Rough example with relevant CSS in page-head...

<http://www.gunlaug.no/tos/moa_29.html>

...where the entire first section in the main column is a working link.
I used a bad checker-background on :hover, but that's not the point of
this quick demo. You can use :hover effects on the entire div if you
like, in addition to the link.

I wouldn't say it is a nice way to do it, but with a bit of fine-tuning
you can make it as nice or as absurd as you want. It won't ruin HTML
validity.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to