CSS centering and file creation