Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How do I make apostrophes in HTML or css instead of inch marks?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41871
    bryguy3495
    Member

    My website is displaying the apostrophes as inch marks.. how do I change this?

    http://www.sgw.com/testnve/

    #120390
    Paulie_D
    Member

    Because you have coded them that way.

    You need to use unicode characters for the best results but be aware that that your font may be at fault here if it uses the same symbols.

    Double Open Quote

    Double Close Quote

    #120393
    bryguy3495
    Member

    Thanks! I always thought they were apostrophes not inch marks, until this project. Thanks again!

    #120397
    __
    Participant

    double-open-quote: `“`

    double-close-quote `”`

    If you use a unicode encoding, as Paulie_D suggests (UTF-8 is [almost] *always* the best choice), you can simply use those characters directly in your text and not worry about it.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.