If you liked this article, please Tweet it.
Or so you'd think... What we actually have is this:
If you liked this article, please Tweet it .
Can you see where this is heading? Good!
The actual code is this:
So what we do here is have the whole content of that paragraph as a link--everything is clickable. Then we remove all the styles from that link so that it looks like it's _not_ a link at all. Anything we set to appear at `a{ ... }` we effectively remove so that it simply looks like ordinary text. The **(abridged)** CSS for `a{ ... }` and the undoing of this is:
/* Define generic link styles here */
a{
font-family:Calibri, Arial, Verdana, sans-serif;
font-weight:bold;
color:#347832;
text-decoration:none;
}
a:hover,a:active,a:focus{
text-decoration:underline;
}
a:active,a:focus{
position:relative;
top:1px;
}
#tweet-this a{
display:block;
padding:20px;
/* Here we undo certain styles applied above */
font-family:Cambria, Georgia, "Times New Roman", Times, serif;
font-weight:normal;
color:#555;
}
#tweet-this a:hover{
/* Undo the hover state of the link */
text-decoration:none;
}
#tweet-this strong{
/* Make this strong look just like the a */
font-family:Calibri, Arial, Verdana, sans-serif;
font-weight:bold;
color:#347832;
}
#tweet-this a:hover strong{
/* Make this strong look just like the a on hover */
text-decoration:underline;
}
So here we're maintaining our specific call to action of 'please Tweet it' by styling that as though it's a link, but in actual fact our link is far bigger. The user sees the specific call-to-action, goes to click it, only to find that it is in fact far larger than it appears, thus easier to click.
Now in this example it would do no harm to just have the whole lot look like a link. We don't really _need_ to spoof calls-to-actions and hit-areas here but it's quite a nice feature.
* * *
## A better example
A better example I unfortunately can't share just yet as it appears on a site I built that hasn't gone live. What I can do however is replicate it for you...
The PSD I was handed contained a section where the text was For a detailed quote for your project, please contact us ยป and its obvious choice of markup was:
For a detailed quote for your project, please contact us
That was until I remembered the technique I'd used on Suze's site. I could keep the 'contact us' call-to-action, but also make it a lot easier for the user to click by using a full-size hit-area.
### [Demo](/demos/maximising-hit-area/)
I've made [a (very crude) replica](/demos/maximising-hit-area/) of that for you which you can pick through the source a little more freely.
So there it is, creating larger hit-areas on very specific calls to action.