bokeh
07-16-2006, 01:49 PM
What is the correct way to display 66 and 99 style quotation marks in HTML?
|
Click to See Complete Forum and Search --> : 66 and 99 bokeh 07-16-2006, 01:49 PM What is the correct way to display 66 and 99 style quotation marks in HTML? ulillillia 07-16-2006, 01:58 PM There are several methods: 1. Use the character map and copy it from there. Start > run > "charmap.exe" without the quotes and find the character, select it, copy it, and paste it. 2. Press and hold the alt key while typing the number 0147 for the 66 quote and the 0148 for the 99 quote. The leading zero is required. 3. Type the document normally with the normal quotes then use the replace feature to use the special quotes using method 1 or 2 to obtain the replacement text. 4. Use the &#xxxx; system. I don't know what xxxx would be, but this also takes up more disk space (and bandwidth), 7 bytes instead of just 1. For how common quotes can be, this method isn't as decent plus it also makes the code look a bit messy. the tree 07-16-2006, 02:12 PM ulillillia I don't think the OP had any issue with typing the quotation marks. bokeh The correct form would be:<q style="quotes: '“''”';">A happy man is too satisfied with the present to dwell too much on the future.</q>But guess which popular browser that doesn't work in! edit that was odd, I gave that code with the entity reference but it's got replaced with the actual characters. I thought this board had stoped allowing that ages ago. oh well. ulillillia 07-16-2006, 02:17 PM I was just explaining various methods for how it could be done. A fifth is a small script within the head of a document that replaces all characters with 22 as the ASCII value as 93 if a space, left parenthesis, or left bracket preceeds it or 94 if otherwise. the tree 07-16-2006, 02:21 PM That would be quite an insanely roundabout approach. Considering the one line of CSS that it'd take to apply the quotation marks to every single quote without slowing the browser down at all in comparison with running through every character of a document. bokeh 07-16-2006, 03:29 PM Press and hold the alt key while typing the number 0147 for the 66 quote and the 0148 for the 99 quote.ASCII 127-160 are not legal characters (or entites) to use in an HTML document which is why I was asking the question. ulillillia 07-16-2006, 04:50 PM I use them quite often and don't have any trouble with IE or Firefox. I use these characters all just fine: † ‡ ‰ • ‘ ’ “ ” and I don't have any issues with them. There are other methods that I've given too that otherwise do the same thing. CyCo 07-16-2006, 04:54 PM <h1>“Help”<span style="font-size:50%">, she cried...</span></h1> kiwibrit 07-16-2006, 05:53 PM Forget it. Can't get my solution to display. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |