Tag: calc

CSS: Using Calc for Height

After successfully using the calc function for width I naturally wondered if I could use the same function for height. At first I thought the answer was a definitive ‘no!’ I tried a couple of calc formulas for height: height: calc(100% – 100px); height: calc(500px + 25%);

Tag: calc

CSS: Using Calc for Width

For my brother-in-law’s website I came across a layout issue that I resolved by using the ‘calc’ tag. I had a row that had three sections. The middle section contained images that did not resize and thus was to be a static width at all times. The left and right sections contained text and their

Continue Reading…