about the first question, without looking at your code we can't diagnose the problem. changing the width/height/padding of the elements should fix the problem of the borders not lining up. it is probably better to use a single element to create the border instead of using many elements to create it.