SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The :after Pseudo-element

    Does anyone know what browser support there is for this? I wanted to insert a ")" after the letter for each item in a list eg

    a)
    b)
    c)
    <style>
    ul.alpha { list-style-type : lower-alpha; }
    ul.alpha:after { content ")"; }
    </style>

    This only seems to work in Moz and Opera though

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    :after doesn't work in IE, sorry . It's a CSS2 thing that IE/Windows (and I believe IE/Mac) doesn't support.

  3. #3
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. IE strikes again!


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
  •