Jump to content

Recommended Posts

Posted
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

Posted

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

Posted (edited)

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
Posted

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

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...