Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Michael Colman
5,099 Pointslink hover issue
Hi there,
I have built my site in wordpress and using the Cufon plugin for the heading fonts.
I'm finding that the whole text area for "Locations" isn't hovering as a link properly.
I made a video to explain what I mean.
http://screencast.com/t/Uinkx7S1vnvM
Any ideas would be great.
Thanks, Michael
1 Answer
Mark Flavin
10,199 PointsIts because you have realtively positioned the canvas elements of the cufon instead of the cufon itself.
<cufon class="cufon cufon-canvas" alt="LOCATION" style="width: 96px; height: 16px;">
<canvas width="100" height="18" style="width: 100px; height: 18px; top: -2px; left: -1px;"></canvas>
<cufontext>LOCATION</cufontext>
</cufon>