I have a container div that contains three inner divs, each with a width of 33%. When they don't have borders, they align perfectly in line.
However, when I add a 1px border to each of the inner divs, it causes them to go out of alignment and pushes the third div below the other two.
Is there a way to keep the three inner divs perfectly aligned within the container while still using borders to highlight each one?
You can view an example demonstrating the issue on JSFiddle by following this link: https://jsfiddle.net/p0yzrL0j/
Second query:
How can I ensure that the sizes of the divs remain fixed so that whenever the window is resized, the divs shrink or expand to fit the window size instead of stacking on top of each other?