completed generate_history_table()
fixed css typo