Tuesday, March 23, 2010

How Do I Code Certain Fractions

I need to display the fractions 1/3 and 2/3 on a client's
page, but can't

find the code for either. It's not in DW nor is it in the
special character

extension I have.



Is there code for these fractions or am I stuck using a slash
between two

numbers?





How Do I Code Certain Fractions


%26amp;#8531;

%26amp;#8532;





--



Karen Boyle, PVII Support


http://projectseven.com/







%26gt;I need to display the fractions 1/3 and 2/3 on a client's
page, but can't

%26gt;find the code for either. It's not in DW nor is it in the
special

%26gt;character extension I have.

%26gt;

%26gt; Is there code for these fractions or am I stuck using a
slash between two

%26gt; numbers?

%26gt;





How Do I Code Certain Fractions
I think there are only HTML character codes for 1/4, 1/2, and
3/4. For

the others, you may need to manually fake it with CSS sub and
super values.



%26lt;style%26gt;

%26lt;!--

.numerator {

vertical-align:super;

font-size:50%;

}



.denominator{

vertical-align:sub;

font-size:50%;

}

--%26gt;

%26lt;/style%26gt;



This is %26lt;span class=''numerator''%26gt;1%26lt;/span%26gt;/%26lt;span
class=''denominator''%26gt;3%26lt;/span%26gt;





--

Alec Fehl, MCSE, A+, ACE, ACI

Adobe Community Expert



AUTHOR:

Microsoft Office 2007 PowerPoint: Comprehensive Course
(Labyrinth

Publications)

Welcome to Web Design and HTML (Labyrinth Publications)



CO-AUTHOR:

Microsoft Office 2007: Essentials (Labyrinth Publications)

Computer Concepts and Vista (Labyrinth Publications)

Mike Meyers' A+ Guide to Managing and Troubleshooting PCs
(McGraw-Hill)

Internet Systems and Applications (EMC Paradigm)


If you can't find it here -




http://llizard.etherwork.net/cwc/charactmap.html



it doesn't exist as an entity.



--

Murray --- ICQ 71997575

Adobe Community Expert

(If you *MUST* email me, don't LAUGH when you do so!)

==================


http://www.dreamweavermx-templates.com
- Template Triage!


http://www.projectseven.com/go
- DW FAQs, Tutorials %26amp; Resources


http://www.dwfaq.com - DW FAQs,
Tutorials %26amp; Resources


http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes

==================





''Tarvardian'' %26lt;tarvardian@nospamyahoo.com%26gt; wrote in
message

news:f21ul2$nfr$1@forums.macromedia.com...

%26gt;I need to display the fractions 1/3 and 2/3 on a client's
page, but can't

%26gt;find the code for either. It's not in DW nor is it in the
special

%26gt;character extension I have.

%26gt;

%26gt; Is there code for these fractions or am I stuck using a
slash between two

%26gt; numbers?

%26gt;






Thanks Alec, Karen %26amp; Murray.



I searched Google before I came here and seemed to find
everything but

fractions. Probably didn't use the correct search terms.



Murray, thanks for the link. It's bookmarked for future
reference.



John



''Murray *ACE*'' %26lt;forums@HAHAgreat-web-sights.com%26gt; wrote
in message

news:f21vlf$or6$1@forums.macromedia.com...

%26gt; If you can't find it here -

%26gt;

%26gt;
http://llizard.etherwork.net/cwc/charactmap.html

%26gt;

%26gt; it doesn't exist as an entity.

%26gt;

%26gt; --

%26gt; Murray --- ICQ 71997575

%26gt; Adobe Community Expert

%26gt; (If you *MUST* email me, don't LAUGH when you do so!)

%26gt; ==================

%26gt;
http://www.dreamweavermx-templates.com
- Template Triage!

%26gt;
http://www.projectseven.com/go
- DW FAQs, Tutorials %26amp; Resources

%26gt;
http://www.dwfaq.com - DW FAQs,
Tutorials %26amp; Resources

%26gt;
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes

%26gt; ==================

%26gt;

%26gt;

%26gt; ''Tarvardian'' %26lt;tarvardian@nospamyahoo.com%26gt; wrote in
message

%26gt; news:f21ul2$nfr$1@forums.macromedia.com...

%26gt;%26gt;I need to display the fractions 1/3 and 2/3 on a
client's page, but can't

%26gt;%26gt;find the code for either. It's not in DW nor is it in
the special

%26gt;%26gt;character extension I have.

%26gt;%26gt;

%26gt;%26gt; Is there code for these fractions or am I stuck
using a slash between two

%26gt;%26gt; numbers?

%26gt;%26gt;

%26gt;

%26gt;






Most of those 4-digit guys are not well supported, last time
I checked.



--

Murray --- ICQ 71997575

Adobe Community Expert

(If you *MUST* email me, don't LAUGH when you do so!)

==================


http://www.dreamweavermx-templates.com
- Template Triage!


http://www.projectseven.com/go
- DW FAQs, Tutorials %26amp; Resources


http://www.dwfaq.com - DW FAQs,
Tutorials %26amp; Resources


http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes

==================





''Karen Boyle'' %26lt;kboyle@NoSpamPleaseprojectseven.com%26gt;
wrote in message

news:f21v9v$oea$1@forums.macromedia.com...

%26gt;

%26gt; %26amp;#8531;

%26gt; %26amp;#8532;

%26gt;

%26gt;

%26gt; --

%26gt;

%26gt; Karen Boyle, PVII Support

%26gt;
http://projectseven.com/

%26gt;

%26gt;

%26gt;

%26gt;%26gt;I need to display the fractions 1/3 and 2/3 on a
client's page, but can't

%26gt;%26gt;find the code for either. It's not in DW nor is it in
the special

%26gt;%26gt;character extension I have.

%26gt;%26gt;

%26gt;%26gt; Is there code for these fractions or am I stuck
using a slash between two

%26gt;%26gt; numbers?

%26gt;%26gt;

%26gt;

%26gt;






%26gt;%26gt; %26amp;#8531;

%26gt;%26gt; %26amp;#8532;



%26gt; Most of those 4-digit guys are not well supported, last
time I checked.



Okay. You didn't mention that when you provided a link to an
entity page.

The encoding is the same, under ''mathematical symbols'' on
that page.



I must admit, I didn't consult an authority in locating the
encoding. I used

Insert %26gt; Symbol %26gt; Subset: Number Forms to locate the
numerical symbol in a

MS document (Publisher) and then pasted the characters into
Notepad to

remove MS encoding. After that, I pasted the characters into
DW which then

encoded the characters into ASCII. Not too bad as a
workaround.







--



Karen Boyle, PVII Support


http://projectseven.com/










%26gt; encoded the characters into ASCII.



Should have been entity instead of ascii.







No comments:

Post a Comment