BonRouge is right.
Also to have the <a> fill the whole td you can set display:block on the <a>
-r-
Main Topics
Browse All TopicsHi,
I have the following code, when you hover over the box the pointer changes into a "I" rather than a hand. Can this be modified to behave as if you we're hovering a link?
.btndb {
font: Arial, Helvetica, sans-serif;
padding: 5px;
border: 1px solid #9451A5;
color: #9451A5;
font-size: 11px;
vertical-align: top;
}
<TD class="btndb" width="10%" valign="bottom">
<A BORDER="0" id="varset_sub" onClick="javascript:window
Fermer</A>
</td>
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
"Why would you need to set the height, or cursor:pointer on a link?"
Because it's not a link - it's an anchor. Look at it - there's no 'href' in there.
"What does the height do?"
The height forces 'hasLayout' in IE. Without it, the 'a' element won't fill the whole cell, because IE is crap. The whole 'hasLayout' thing is probably the biggest cause of browser inconsistencies when it somes to CSS.
Here's my short explanation with two important links: http://bonrouge.com/br.php
"Doesn't this code break things in Firefox?"
No.
Business Accounts
Answer for Membership
by: BonRougePosted on 2006-03-16 at 04:24:43ID: 16204167
.btndb {
cursor:pointer;
}