Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6166663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:22:34+00:00 2026-05-23T22:22:34+00:00

I was reading through Eric Meyer’s CSS reset and saw this: blockquote:before, blockquote:after, q:before,

  • 0

I was reading through Eric Meyer’s CSS reset and saw this:

blockquote:before, blockquote:after,
q:before, q:after {
    /* ? */ content: '';
    /* ? */ content: none;
}

I assume that some browsers support content: '' and some content: none, is this the case? And which browsers support which?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:22:36+00:00Added an answer on May 23, 2026 at 10:22 pm

    Meyer credits Paul Chaplin with that version of the blockquote/q reset styles.

    Chaplin’s post on the subject contains the following style block, helpfully annotated.

    blockquote, q
    {
        quotes: none;
    }
    
    /*
    Safari doesn't support the quotes attribute, so we do this instead.
    */
    blockquote:before, blockquote:after, q:before, q:after
    {
        /*
        CSS 2; used to remove quotes in case "none" fails below.
        */
        content: "";
        /*
        CSS 2.1; will remove quotes if supported, and override the above.
        User-agents that don't understand "none" should ignore it, and
        keep the above value. This is here for future compatibility,
        though I'm not 100% convinced that it's a good idea...
        */
        content: none;
    }
    

    To boil it down: current versions of most browsers simply support a quotes: none style, which eliminates the need to use the :before and :after selectors. The odd man out was Safari/WebKit, which didn’t respect quotes: none. The next way to solve this was with the :before/:after pseudo-elements, but at the time of that writing, WebKit didn’t support content: none either, so content: "" was required.

    However, that post was in 2008, and a quick test with current WebKit browsers (Safari 5.1 and Chrome 12) shows that quotes: none works fine on both. The content: none bug against WebKit is still open for some reason, while the bug for the quotes property was closed fairly recently.

    So, long story short, the extra styles appear to be there to support older versions of Safari (and possibly Chrome). It’s a little more difficult to nail down exactly when they got support, but current versions of all browsers seem to deal with quotes: none (and content: none) just fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Reading through the Backbone.js source code, I saw this: validObj[attr] = void 0; What
When reading through parfib.hs code on github, I saw this comment about memory allocation
Reading through this question on multi-threaded javascript, I was wondering if there would be
I'm reading through Eric Evans' awesome work, Domain-Driven Design. However, I can't help feeling
After reading through the pub/sub project sample in MassTransit, it left me scratching my
after reading through a couple similar Qs/As I haven't quite found the solution I'm
I was reading through this interesting post about using JavaScript to generate an image
Reading through the C specs I found this function: double remquo(double x, double y,
I am reading through a file using a for loop like this... f =
After reading through many of the questions here about DB schema migration and versions,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.