Jump to content

maths and fractions


accrington

Recommended Posts

How to create a fraction in a web page? I know only this way: ?. How to get a horizontal line in an elegant way?

Could you, please, suggest a link where to read about it? Thanks. :-)

Hi,

 

You just wrote 1/2 in the post above and ... it looks pretty good to me.

 

;)

 

I suppose you could create a ... around the 1/2 and then use CSS to change the font and text properties. You know, make it bold, all caps etc ....

 

Stefan

Link to comment
Share on other sites

Hi Stefan,

 

Thank you. It works when we have 1/2 and 1/3. But if I need something like this: a/b + c/d = (a + c)/ d. Or, let's say 2 and 1/3... or 11/4 = 2 3/4 etc ...

You see, this is very nice:

or ∑i=0

xi when you need a Sum. But it doesn't work with fractions. :(

 

 

It's very simple in Word > Object > Microsoft Equation 3.0. I am wondering - do I have to make everything like .gif? Boring.

I hope that there should be something nice, as you said: create a ... around everything.

 

Thanks a lot and Happy Boxing Day!:)

 

accrington

Link to comment
Share on other sites

The proper, semantic way to mark up mathematics is to use....MathML!

 

It is a recommendation of the W3C, and it is certainly the way to go for more complex stuff. Wikipedia has an excellent article with examples here.

 

Predictably, IE only supports MathML with a plugin, so depending on your audience, this may or may not be the best solution.

Edited by monkeysaurus
Link to comment
Share on other sites

Stefan,

 

Why? They are so cute and so curious. ;) maths and counting sheep...

 

 

monkeysaurus,

 

Thank you once more, even if I do not understand those dots. But it is ok with XHTML. At least I know where to read about it. I hope I will manage MathML for my webpage. Otherwise I could follow Wickham's suggestion.

 

accrington

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...