The only portion of your question that relates to Perl can be answered by saying, "Use print to output whatever HTML you wish for your script to produce."

What HTML (and Javascript) is needed to produce the look you're after on your website is... an HTML / Javascript question, and should be posed to an HTML or Javascript forum.

As an aside, if you're struggling with CGI in general, pick up the book, "CGI Programming with Perl". If you're unfamiliar with Perl, start with "Learning Perl" first, or the CGI book will lose you quickly. Both of those books are published by O'Reilly & Associates. It will also prove beneficial (if not crucial) to read the documentation for CGI.


Dave


In reply to Re^3: Tabbed html interfaces using perl?? by davido
in thread Tabbed html interfaces using perl?? by fadingjava

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.