Reputation: 2924
Consider this page @ http://www.bloodbone.ws/screwed.html
I need to be able to have the a.grow
element expand to the dimensions of the div.column-header
so that if you target anywhere in the div
the whole area is clickable.
It works in Firefox + Safari, but I can't get it to work in any IE browser.
The h2
and img
elements always break the a.grow
so there are areas that aren't clickable.
I've tried everything I can think of, adding zoom: 1
etc. to no avail.
The h2
and img
have to be visible, but any mouse hover over the area should be clickable.
Upvotes: 2
Views: 2781
Reputation: 10981
To have it "SEO compatible", you have 2 options:
Upvotes: 3
Reputation: 6614
will
<div class="column-header">
<a class="grow" href="http://www.google.com">Google</a>
<h2>What's On</h2>
<a href="http://www.google.com">
<img src='http://www.bloodbone.ws/images/mainHeader.jpg' alt='boo' />
</a>
</div>
do?
Upvotes: 0