Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I didn’t know people still created such horrid table-in-table-in-table relics.

    Well, originally I went in there to fix up the download link – by setting the a tag’s style to display:block, you can make the clickable area be an entire rectangle instead of just the link text (except in IE6 anyway). That is always a nice touch for button-like elements.

    But then I stumbled into a horrible table mess… it’s amazing how awful the markup for a simple page like this can be made. (And to be clear, your submission was not nearly the worst I’ve seen.)

    Anyway, I cleaned it up. I also applied my “large clickable area tweak.” And made a minor typographical improvement along the way. The result renders precisely the same in Firefox 2 and only has a few minor differences in the placement of things in Opera 9. I can’t test IE, I’m afraid.

    Here you go:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Strawberry Perl</title>
    <style type="text/css">
    body {
        background-color: #fff;
        color: #111;
        font-family: Georgia, "Times New Roman", Times, serif;
    }
    a {
        color: #000;
        text-decoration: none;
    }
    h1 {
        font-family: Geneva, Arial, Helvetica, sans-serif;
        font-size: 38px;
        margin: 1em 0;
    }
    p {
        font-size: 23px;
    }
    ul {
        margin: 4.45em 0 0 100px;
        padding: 0;
    }
    li {
        list-style-type: none;
        font-size: 18px;
        margin: 1em 0;
        padding: 0;
    }
    #wrapper {
        width: 508px;
        height: 600px;
        position: absolute;
        top: 73px;
        left: 50%;
        margin-left: -490px;
        padding-left: 472px;
        background-image: url(128291_6321.jpg);
        background-repeat: no-repeat;
    }
    #download {
        display: block;
        margin-top: 3.6em;
        float: right;
        border: 2px solid #900;
        background-color: #fcc;
        padding: 5px;
        font-family: Arial, Helvetica, sans-serif;
    }
    #download b {
        color: #900;
        text-decoration: underline;
    }
    </style>
    </head>

    <body>

    <div id="wrapper">

    <h1>Complete Platform Equality</h1>

    <p>Strawberry Perl 5.10.0. Arriving November 2007.</p>

    <ul>
        <li>No more binary packages.</li>
        <li>No other installation required.</li>
        <li>Just a complete 100% CPAN capable Perl for<br>
        your Windows&reg; computer that&rsquo;s exactly the<br>
        same as Perl everywhere else.</li>
    </ul>

    <div>
        <a href="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/strawberry-perl-5.8.8-al pha-2.exe" id="download">
            <b>Download Strawberry Perl 5.8.8 Alpha 2</b><br>
            (Win2k/XP/Vista, English, 24MB)
        </a>
    </div>

    </div>

    </body>
    </html>

    If you copy-paste, beware: Slashcode has inserted a blank in the download URL to make it wrappable.