fixing bugs in templating to render html and css properly
fixed all the css/templating bugs!