by nulen
3 replies
  • WEB DESIGN
  • |
im using html/css/php

i have this code:
<a href=www.mysite.com rel="nofollow" title="this is my site" target=_blank">mysite</a>
i want to design the title part with css(title="this is my site").
a:hover will work only on the link itself. how i do that?
#>href #href #title
  • Profile picture of the author tknoppe
    Here's a link directly from W3 Schools showing you how to style the title tag via CSS: CSS Attribute Selector
    Signature

    Traci Knoppe, OBM, Launch & Project Manager
    Your Web Tech Team

    {{ DiscussionBoard.errors[5841921].message }}
  • Profile picture of the author AleinaKoch
    Correction:

    From <a href=www.mysite.com rel="nofollow" title="this is my site" target=_blank">mysite</a>

    To <a href="http://www.mysite.com" rel="nofollow" title="this is my site" target="_blank">mysite</a>
    {{ DiscussionBoard.errors[5842715].message }}
  • Profile picture of the author JOSourcing
    Banned
    The title attribute can't be styled via CSS. You'll need to use a javascript of some sort to create decorative hovers.
    {{ DiscussionBoard.errors[5845650].message }}

Trending Topics