layout stuff

fixing margins and attributes