Alan K Baker wrote:

> Hi all.
> 
> I have a need for an entire index page to be contained within an anchor, so 
> that anyone visiting the site would have to simply click anywhere within the 
> page to bring up the next screen.
> 
> As <a> tags can't contain <div>s , does anyone have a technique to achieve 
> this?
> 
> Regards,
> 
> Alan.


At the end of you source code insert a anchor within a container that 
has "no" position whatsoever. Then style this anchor with.

a.selectable {
width: 100%;
height:100%;
display: block;
z-index: 1;
position: absolute;
bottom:0;
}

And for all versions of IE use this.

a.selectable:hover {
   background-image: url(transparent-1by1px.png);
}

If the page is higher than the viewpoint you may wish to have it 
position fixed for the better browsers.


Alan

http://css-class.com/test/
______________________________________________________________________
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