Forum Moderators: not2easy

Message Too Old, No Replies

CSS3 to support Mathmatical equations?

At least something like width = 100%-20px?

         

JAB Creations

6:22 pm on Dec 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm very curious about CSS3 and what is involved with it. What new goodies will we web designers and developers get to do (in plain English terms). My main interest though is in regards to mathmatical equations.

width: 100%-10px;
width: 100%-70px;

I'm interested in seeing this type of validation make it through. I've read (and didn't understand) this page ...

[w3.org...]

I am a simple man and do not possess an engineering degree nor am I mechanically inclined. ^.^

encyclo

6:29 pm on Dec 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The document you refer to does not deal with CSS: it is a technical document for MathML, which is a variant of XML designed for marking up mathematical equations - an alternative to HTML/XHTML which is unable to deal with mathematic notation.

It has been a while since I checked out the proposed CSS3 specifications, but as far as I know, there are no plans for CSS to support mathematical calculations. You have to bear in mind that CSS is a styling mechanism, not a programming language.

SuzyUK

7:39 pm on Dec 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



At least something like width = 100%-20px?

...actually CSS2.1 can do this already, but of course IE can't ;)

Absolute Positioning accomplishes this quite admirably when all four co-ordinates are used to their full potential. It does have to make a calculation, to solve the width/height [w3.org], and as soon as IE gets it (and erm the pigs are flying..) we will be able to have pixel perfect columnar layouts flibbety gib..

Thanks encyclo for the MathML translation one day could you try and explain some more of that spec (in plain english!) for me :)

Suzy