I am trying to align 4 divs horizontally, but i want each of the divs to fill 25% of the width of the parent, that way they are perfectly filling out the parents width.
You can see my attempt here: https://techsource.dk/query/combine.php
I have 4 divs of the width of 250px, with no padding, margin and borders, inside a 1000px width parent, however only 3 of the 250px divs fits inside the parent.
If i set the width of the children to 240px or lower, they will fit into the parent, but i cannot understand why 4x250px width divs cannot fit in a 1000px width parent? I inspected it with chrome, and it seems correctly understood by the browser.