www.webdeveloper.com
Results 1 to 3 of 3

Thread: Pseudo-elements are working in Chrome but not in Opera or Firefox

  1. #1
    Join Date
    May 2013
    Posts
    4

    Question Pseudo-elements are working in Chrome but not in Opera or Firefox

    I'm trying to convert a PSD file to a working HTML template but am facing a problem while working on pseudo-elements.

    Check out this page: https://dl.dropboxusercontent.com/u/...bhi/index.html

    I have used an image with :after & :before for "Latest Blog Post"; but the "line.png" is only showing in Google Chrome,not in Firefox & Opera.

    How do I fix this? any kind of help ll be highly appreciated.

    p.s: i have tried double colon:: but it didn't help either.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,139
    It looks like you have quite a few syntax errors in your CSS. Try the W3C CSS validator, then the Firefox error console. That's the place to start.
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    May 2013
    Posts
    4
    Thank you very much!! Actually I'm new in this field, so I forgot to validate my code.
    Problem Solved, everything is working fine.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles