Professional way of showing information

:thinking: didnā€™t really understand want you said, can you please simplify, still trying to rap my head around HTML stuffs

This post was flagged by the community and is temporarily hidden.

Here is an example for youā€¦

c(NaOH) =
n(NaOH) / V(NaOH)
= 1.2345 mol dm-3
.fraction { display: inline-block; vertical-align: middle; margin: 0 0.2em 0.4ex; text-align: center; } .fraction > span { display: block; padding-top: 0.15em; } .fraction span.fdn {border-top: thin solid black;} .fraction span.bar {display: none;}

And, the codes are below:

<div class="eq-c">

c(NaOH) =

n(NaOH) / V(NaOH)
= 1.2345 mol dm-3 .fraction { display: inline-block; vertical-align: middle; margin: 0 0.2em 0.4ex; text-align: center; } .fraction > span { display: block; padding-top: 0.15em; } .fraction span.fdn {border-top: thin solid black;} .fraction span.bar {display: none;}

It seems CSS are not supporting here! :thinking:

itā€™s even more complicated

You can actually display fractions as you want with CSS & Javaā€¦ Example belowā€¦

Iā€™ll send the codes as a .txt file only if youā€™re interested.

1 Like

yeah sure. thanks by the way:slightly_smiling_face::+1:

Here is the .txt file for the fraction aboveā€¦
fractions(2).txt (516 Bytes)

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.