in reply to For statement 2 html table

Errh, I may be missing something, but this looks more like a HTML/CSS question than a Perl one.

Either style the <div> with display:inline, or float: left. One of those should work (subject to any other page formatting you may have), and you won't have to change the Perl at all.

Hope that helps.

Replies are listed 'Best First'.
Re^2: For statement 2 html table
by dorward (Curate) on Jan 03, 2006 at 22:54 UTC

    Errh, I may be missing something, but this looks more like a HTML/CSS question than a Perl one.

    It looks to me more a question of extracting data from a number of hash references using keys stored in an array sorting first by hash and then by key rather then first by key then by hash.

    I'm just confused by the "IF statement" comment, and the odd markup in the sample output which doesn't seem to bare much relation to the code. I'm also having some trouble coming up with an answer that isn't simply spoonfed code.

    style the <div>

    It is better to alter the Perl then to represent tabular data without tabular markup.

      Ah yes, a very good point...

      <cough> Can you guess which of us has been reading too much about CSS and Javascript lately?  ;-)