views:

236

answers:

3

I'd like to start using question marks at the end of clauses as well as sentences. To indicate this I would like to use a question mark with a comma underneath, which I'd like to call a quomma.

There doesn't seem to be a Unicode code point for this unconventional punctuation, so what is the most Web-friendly way of doing this?

  • The combining diacritical mark doesn't seem to work anywhere I've tried it: ?̦ (Though is there something which prevents overlappingʔ̦ because the glottal stop mark, which looks almost like a dotless question mark (ʔ) does seem to work, as you just saw!)
  • SVG support is not widespread, and this would require a per-font SVG anyway.
  • A raster image seems a bit of a crap solution.
  • Is there some cheeky but not-too-hacky HTML/CSS?
  • Any other ideas?
+3  A: 

This one works inline; even IE can handle inline-block displays on span-elements:

<p>Some text with a quomma in it <span class="quomma">?<span class="c">,</span></span> and some more text</p>

CSS:

span.quomma {
    display: inline-block;
    position: relative;
}

span.quomma .c {
    display: block;
    position: absolute;
    left: .1em;
    top: 0;
}
Harmen
Your solution works better @Harmen. I would upvote you but I'm out of votes. I'm deleting my answer.
Pekka
@Pekka I wasn't out of upvotes so I upvoted for you :)
Doug Neiner
+1 with the caveat that `inline-block` and firefox2 don't go well together.
Jonathan Sampson
Cheers @Doug :) Harmen's solution works in IE5, 6 and 7, which mine did not. So, credit to him for using `inline-block`.
Pekka
+5  A: 

Have a look at the combining diatrics (charts), in particular U+0326 (COMBINING COMMA BELOW).

The HTML &#x0294;&#x0326; produces:

ʔ̦

Since this is unlikely to be a grapheme used in any existing language, whether that works or not on your browser may depend on a number of factors related to Unicode and font support.

McDowell
But that thing on the top is still a glottal stop mark, which doesn't look exactly like the top of a question mark to me?
Statto
This looks like two distinct characters in Firefox 3.0.5.
Mike Daniels
It also fails in Chrome 5.0.322.2 dev, fwiw.
Roger Pate
A: 
Roger Pate