SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can i add "focus" direcrtly by the style tag in html?

    How can i add "focus" direcrtly by the style tag in html?
    for ex: (I cant use stylesheet or javascript for this issue, since its inside mail)
    HTML Code:
    <a href="#" style="a:focus { border: 1px solid #000; }">CLICK ME TO SEE THE BOUNDRIES</a>

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,167
    Mentioned
    453 Post(s)
    Tagged
    8 Thread(s)
    You can't do that (that is, insert pseudo classes inline). When you say "inside mail", do you mean inside an HTML email?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •