convert select to ul/li structure