Jesper Rønn-Jensen wrote:

> So instead of adding an
> a-element to each inline text/image, I want the empty space in the
> div to be clickable too.

Is this a CSS issue?

As a CSS-related approach to this basically non-CSS problem, you might 
consider using normal markup, with a <div> element containing a link 
(with inline-only content), but using CSS to dimension and position the 
link so that it appears to cover all of the <div> element. That is, the 
link would overlay the wrapper.

However, this is probably trickier than it sounds. And I wonder how 
users would guess that the whole block is clickable, or appreciate that 
it is.

Wouldn't it be better to just make the link more noticeable? If you 
have, at the end of the block,

...
Read the full story:
<cite><a href="...">The wheel finally re-invented</a></cite>

you could just use some background color - like some shade of yellow - 
and border for the link text (plus some padding, to avoid making it look 
too tight). Using :link:hover etc. you could make it change on mouseover 
even in a button-like manner.

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
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