Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Understanding and using CALC() Reply To: [Solved] Understanding and using CALC()

#166263
paulob
Participant

Hi,

Yes the basic examples were the same as yours :)

For twothirds I would think you would need this:

.twothirds{width:calc((100% / 3 * 2)  - 3.0675% / 3)}

That’s if you want it to match up alignment with two single thirds.