I\'ve defined widths of the containers in percentage. I\'d like to add a border (3px on right side of a width), since container width is in % while the border width is in px
That's a bit tricky but check out this post on a way to get around it:
The box-sizing property may also be of interest to you, check this out: