in reply to Perl Title Help

This has nothing to do with perl. Achieve your goal in HTML/CSS/JavaScript then populate the appropriate values from your perl backend. Consider using a templating option to separate your client side and serve side code. HTML::Template, Template::Toolkit.