While looking at this I noticed a couple of problems with the standard theme tabs:
- unclickable links still change when you mouseover them
- the hover activation area is quite a bit larger than the clickable target
I made an attempt to fix this with the following code, though I got bored before I finished it off completely. If you're using the standard theme or its tab implementation I'd suggest having a look at finishing this off.
.tabrow td,
.tabrow .inactive:hover {
background:url(pix/tab/left.gif) top left no-repeat;
}
.tabrow td .tablink,
.tabrow .inactive:hover .tablink {
background:url(pix/tab/right.gif) top right no-repeat;
}
.tabrow td:hover {
background-image:url(pix/tab/left_hover.gif);
}
.tabrow td:hover .tablink {
background-image:url(pix/tab/right_hover.gif);
}
.tabrow .last {
background: transparent url(pix/tab/right_end.gif) top right no-repeat;
}
.tabrow td.selected:hover {
background-image:url(pix/tab/left_active_hover.gif);
}
.tabrow td.selected:hover .tablink {
background-image:url(pix/tab/right_active_hover.gif);
}
.tabrow .selected,
.tabrow td.selected:hover {
background:url(pix/tab/left_active.gif) top left no-repeat;
}
.tabrow .selected .tablink,
.tabrow td.selected:hover .tablink {
background:url(pix/tab/right_active.gif) top right no-repeat;
}
.tabrow td .tablink {
background: transparent;
border: 0;
padding: 0;
margin-right: 8px;
}
.tabrow .selected .tablink {
padding-bottom: 0;
padding-left: 0;
padding-top: 10px;
padding-right: 8px;
margin-right: 0px;
}
.tabrow .tablink a {
width: 100%;
padding-top: 10px;
padding-right: 8px;
margin: 0;
}
.tabrow td .tablink a {
display: block;
width: 100%;
background:url(pix/tab/right.gif) top right no-repeat;
}
.tabrow td:hover .tablink {
background: none;
}
.tabrow td:hover .tablink a {
background-image:url(pix/tab/right_hover.gif);
}