Pixel Border and Percentage width in Proportion
I think I might already know the answer to this one but I need a sanity check! Say I have #gridtest{ width:590px; } I could change the width to a percentage by using RESULT=TARGET/CONTEXT. In this case the context is a container with a max-width set to 1000px so I can do this: #gridtestpercent{ width:59%; /*590/1000*/ } If I were to shrink the window down the div would always be in the proportion to the its container. But what if I wanted to do #gridtest{ width:570px; border:10px solid red; } I can work the width out based on the target now being 570 but as the window is shrunk the proportions