css fixes for link template